Silence error message during test
It is different across server versions.
This commit is contained in:
		| @ -100,7 +100,11 @@ ALTER TABLE tbl_with_dropped_toast DROP COLUMN t; | ||||
|  | ||||
| INSERT INTO tbl_badindex VALUES(1, 10); | ||||
| INSERT INTO tbl_badindex VALUES(2, 10); | ||||
|  | ||||
| -- This will fail. Silence the message as it's different across PG versions. | ||||
| SET client_min_messages = fatal; | ||||
| CREATE UNIQUE INDEX CONCURRENTLY idx_badindex_n ON tbl_badindex (n); | ||||
| SET client_min_messages = warning; | ||||
|  | ||||
| INSERT INTO tbl_idxopts VALUES (0, 'abc'), (1, 'aaa'), (2, NULL), (3, 'bbb'); | ||||
|  | ||||
|  | ||||
		Reference in New Issue
	
	Block a user