Skip to content

Commit fdb84e9

Browse files
committed
Makefile: Update filterdump-targets, invoke
1 parent ebab46b commit fdb84e9

File tree

4 files changed

+50
-37
lines changed

4 files changed

+50
-37
lines changed

Makefile.am

+3-2
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ gitrev.h: $(HEADERS) $(SOURCES)
3838
fi
3939

4040
filterdump:
41-
psql -c 'copy (select error from known) to stdout' smith|sort -u > known.txt
42-
psql -c 'copy (select re from known_re) to stdout' smith|sort -u > known_re.txt
41+
psql -Xc 'copy (select error from known) to stdout' |sort -u > known.txt
42+
psql -Xc 'copy (select re from known_re) to stdout' |sort -u > known_re.txt
43+
psql -Xc 'copy (select sqlstate from boring_sqlstates) to stdout' |sort -u > boring_sqlstates.txt
4344

4445
.PHONY: filterdump

boring_sqlstates.txt

+31-31
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,44 @@
1-
22011
2-
3F000
3-
3D000
4-
2201E
5-
54001
6-
22025
7-
2F005
8-
55P02
9-
22008
10-
42602
11-
22004
12-
42809
1+
0A000
132
22000
14-
22007
15-
23503
163
22001
17-
42601
4+
22003
5+
22004
6+
22007
7+
22008
8+
22011
189
22012
1910
2201B
20-
42P07
21-
23505
22-
42725
23-
57014
24-
23514
25-
42P03
11+
2201E
12+
22023
13+
22025
14+
2202E
2615
22P02
27-
22003
28-
P0001
2916
23502
30-
42804
31-
55000
32-
22023
33-
42P01
17+
23503
18+
23505
19+
23514
20+
2F005
21+
3D000
22+
3F000
3423
42501
24+
42601
25+
42602
3526
42704
27+
42710
28+
42725
29+
42804
30+
42809
3631
42846
3732
42883
38-
2202E
39-
0A000
4033
428C9
41-
57P01
42-
42710
34+
42P01
35+
42P03
36+
42P07
4337
53400
38+
54001
39+
55000
40+
55P02
41+
57014
42+
57P01
4443
58P01
44+
P0001

known.txt

+12-2
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ ERROR: SET requires parameter name
3030
ERROR: Some PX error (not specified)
3131
ERROR: TABLESAMPLE clause can only be applied to tables and materialized views
3232
ERROR: UPDATE is not allowed in a non-volatile function
33+
ERROR: Unexpected end of string
3334
ERROR: Unexpected packet in key data
3435
ERROR: WAL level not sufficient for creating a restore point
3536
ERROR: WAL level not sufficient for making an online backup
@@ -45,6 +46,7 @@ ERROR: argument declared "anyrange" is not a range type but type anyrange
4546
ERROR: argument exceeds the maximum length of 255 bytes
4647
ERROR: argument must be empty or one-dimensional array
4748
ERROR: array must have even number of elements
49+
ERROR: array must not contain nulls
4850
ERROR: array of weight is too short
4951
ERROR: array size exceeds the maximum allowed (134217727)
5052
ERROR: arrays must contain identical number of items
@@ -109,6 +111,7 @@ ERROR: cannot convert abstime "invalid" to timestamp
109111
ERROR: cannot convert circle with radius zero to polygon
110112
ERROR: cannot convert reltime "invalid" to interval
111113
ERROR: cannot convert reserved abstime value to date
114+
ERROR: cannot create logical replication slot in transaction that has performed writes
112115
ERROR: cannot delete from object using integer index
113116
ERROR: cannot delete from scalar
114117
ERROR: cannot display a value of type anyelement
@@ -139,6 +142,7 @@ ERROR: cannot merge addresses from different families
139142
ERROR: cannot open BEGIN query as cursor
140143
ERROR: cannot open CREATE INDEX query as cursor
141144
ERROR: cannot open CREATE RULE query as cursor
145+
ERROR: cannot open DECLARE CURSOR query as cursor
142146
ERROR: cannot open INSERT query as cursor
143147
ERROR: cannot open ROLLBACK query as cursor
144148
ERROR: cannot open multi-query plan as cursor
@@ -341,6 +345,7 @@ ERROR: could not open file "base/16384/PG_VERSION": Cannot allocate memory
341345
ERROR: could not open relation with OID 2619
342346
ERROR: could not open stop-word file "/home/smith/postgres/inst/master/share/tsearch_data/english.stop": Cannot allocate memory
343347
ERROR: could not read file "backup_label": Cannot allocate memory
348+
ERROR: could not read file "current_logfiles": Cannot allocate memory
344349
ERROR: could not read time zone file "Default": Cannot allocate memory
345350
ERROR: count must be greater than zero
346351
ERROR: currtid cannot handle views with no CTID
@@ -371,12 +376,14 @@ ERROR: first argument of jsonb_populate_record must be a row type
371376
ERROR: float4_accum: expected 3-element float8 array
372377
ERROR: float8_accum: expected 3-element float8 array
373378
ERROR: float8_avg: expected 3-element float8 array
379+
ERROR: float8_combine: expected 3-element float8 array
374380
ERROR: float8_corr: expected 6-element float8 array
375381
ERROR: float8_covar_pop: expected 6-element float8 array
376382
ERROR: float8_covar_samp: expected 6-element float8 array
377383
ERROR: float8_regr_accum: expected 6-element float8 array
378384
ERROR: float8_regr_avgx: expected 6-element float8 array
379385
ERROR: float8_regr_avgy: expected 6-element float8 array
386+
ERROR: float8_regr_combine: expected 6-element float8 array
380387
ERROR: float8_regr_intercept: expected 6-element float8 array
381388
ERROR: float8_regr_r2: expected 6-element float8 array
382389
ERROR: float8_regr_slope: expected 6-element float8 array
@@ -400,6 +407,7 @@ ERROR: gen_salt: Unknown salt algorithm
400407
ERROR: getQuadrant: impossible case
401408
ERROR: gtsvector_in not implemented
402409
ERROR: identifier too long
410+
ERROR: index row size 5752 exceeds btree version 4 maximum 2704 for index "clstr_tst_c"
403411
ERROR: input is out of range
404412
ERROR: input of anonymous composite types is not implemented
405413
ERROR: integer out of range
@@ -414,6 +422,7 @@ ERROR: invalid input value for enum insenum: "(0) with time zone"
414422
ERROR: invalid line specification: must be two distinct points
415423
ERROR: invalid name syntax
416424
ERROR: invalid number of arguments: object must be matched key value pairs
425+
ERROR: invalid preceding or following size in window function
417426
ERROR: invalid prewarm type
418427
ERROR: invalid query
419428
ERROR: invalid range bound flags
@@ -539,6 +548,7 @@ ERROR: pg_event_trigger_table_rewrite_reason() can only be called in a table_re
539548
ERROR: pg_extension_config_dump() can only be called from an SQL script executed by CREATE EXTENSION
540549
ERROR: pg_stat_statements must be loaded via shared_preload_libraries
541550
ERROR: prewarm type cannot be null
551+
ERROR: querytree is no longer implemented
542552
ERROR: range constructor flags argument must not be null
543553
ERROR: range lower bound must be less than or equal to range upper bound
544554
ERROR: record type has not been registered
@@ -570,6 +580,7 @@ ERROR: stack depth limit exceeded
570580
ERROR: syntax error at end of input
571581
ERROR: syntax error at or near "ARRAY"
572582
ERROR: syntax error at or near "USER"
583+
ERROR: test_fdw_handler is not implemented
573584
ERROR: timestamp cannot be NaN
574585
ERROR: timestamp out of range
575586
ERROR: too many points requested
@@ -579,6 +590,7 @@ ERROR: type matched to anyenum is not an enum type: anyenum
579590
ERROR: type planets is not composite
580591
ERROR: unexpected dtype 7 while parsing reltime "invalid"
581592
ERROR: unexpected duplicate for tablespace 0, relfilenode 0
593+
ERROR: unexpected end of flag array
582594
ERROR: unrecognized privilege type: "
583595
ERROR: unrecognized storage manager name
584596
ERROR: unsupported XML feature
@@ -605,8 +617,6 @@ ERROR: weight out of range
605617
ERROR: wrong limit, should be between 0 and 1
606618
ERROR: wrong number of array subscripts
607619
ERROR: zero raised to a negative power is undefined
608-
Line style is ascii.
609-
Pager usage is off.
610620
RIGHT and FULL OUTER JOINs are not currently supported
611621
Some PX error (not specified)
612622
^ERROR: cannot take cube root of a unit

known_re.txt

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
Line style is ascii.
2-
Pager usage is off.
31
\\nCONTEXT: PL/pgSQL function tg_backlink_set
42
\\nCONTEXT: PL/pgSQL function tg_iface_biu
53
\\nCONTEXT: PL/pgSQL function tg_pslot_biu
@@ -65,9 +63,12 @@ Pager usage is off.
6563
^ERROR: could not identify a hash function for type
6664
^ERROR: could not identify an equality operator for type
6765
^ERROR: could not identify an ordering operator for type
66+
^ERROR: could not open file "
6867
^ERROR: could not open relation with OID (\\d+)
68+
^ERROR: could not open server file "
6969
^ERROR: could not perform block dump because dump file is being used by PID
7070
^ERROR: could not read symbolic link ".*": No such file or directory
71+
^ERROR: could not stat file "
7172
^ERROR: cross-database references are not implemented
7273
^ERROR: cube index [0-9]+ is out of bounds
7374
^ERROR: currval of sequence "[^"]+" is not yet defined in this session
@@ -89,6 +90,7 @@ Pager usage is off.
8990
^ERROR: index -?[0-9]+ out of valid range
9091
^ERROR: index [^o]+out of valid range, 0..127
9192
^ERROR: index row requires \\d+ bytes, maximum size is \\d+
93+
^ERROR: index row size \\+ exceeds btree version \\d+ maximum \\d+ for index
9294
^ERROR: index row size \\d+ exceeds maximum \\d+ for index
9395
^ERROR: insert or update on table "[^"]+" violates foreign key constraint
9496
^ERROR: interval field value out of range

0 commit comments

Comments
 (0)