File tree 2 files changed +4
-0
lines changed
src/test/modules/unsafe_tests
2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -152,8 +152,10 @@ BEGIN;
152
152
ALTER TABLE pg_description SET SCHEMA public;
153
153
ROLLBACK;
154
154
-- reserved tablespace name
155
+ SET client_min_messages = error; -- disable ENFORCE_REGRESSION_TEST_NAME_RESTRICTIONS warning
155
156
CREATE TABLESPACE pg_foo LOCATION '/no/such/location';
156
157
ERROR: directory "/no/such/location" does not exist
158
+ RESET client_min_messages;
157
159
-- triggers
158
160
CREATE TRIGGER t1 BEFORE INSERT ON pg_description EXECUTE FUNCTION tf1();
159
161
ALTER TRIGGER t1 ON pg_description RENAME TO t2;
Original file line number Diff line number Diff line change @@ -166,7 +166,9 @@ ALTER TABLE pg_description SET SCHEMA public;
166
166
ROLLBACK ;
167
167
168
168
-- reserved tablespace name
169
+ SET client_min_messages = error; -- disable ENFORCE_REGRESSION_TEST_NAME_RESTRICTIONS warning
169
170
CREATE TABLESPACE pg_foo LOCATION ' /no/such/location' ;
171
+ RESET client_min_messages;
170
172
171
173
-- triggers
172
174
CREATE TRIGGER t1 BEFORE INSERT ON pg_description EXECUTE FUNCTION tf1();
You can’t perform that action at this time.
0 commit comments