Skip to content

Commit facd7a8

Browse files
committed
Add boring_sqlstates.txt to log schema init
1 parent 5558ea7 commit facd7a8

File tree

2 files changed

+45
-0
lines changed

2 files changed

+45
-0
lines changed

boring_sqlstates.txt

+44
Original file line numberDiff line numberDiff line change
@@ -0,0 +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
13+
22000
14+
22007
15+
23503
16+
22001
17+
42601
18+
22012
19+
2201B
20+
42P07
21+
23505
22+
42725
23+
57014
24+
23514
25+
42P03
26+
22P02
27+
22003
28+
P0001
29+
23502
30+
42804
31+
55000
32+
22023
33+
42P01
34+
42501
35+
42704
36+
42846
37+
42883
38+
2202E
39+
0A000
40+
428C9
41+
57P01
42+
42710
43+
53400
44+
58P01

log.sql

+1
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ comment on view instance_speed is 'query speed of recently active instances';
109109
create table boring_sqlstates (sqlstate text primary key);
110110
comment on table boring_sqlstates is 'sqlstates to reject';
111111
grant select on boring_sqlstates to public;
112+
\copy boring_sqlstates from boring_sqlstates.txt
112113

113114
create table known(error text);
114115
comment on table known is 'error messages to reject';

0 commit comments

Comments
 (0)