Add second test that tests multiple --schema args
This commit is contained in:
		| @ -210,7 +210,15 @@ CREATE TRIGGER zzzzzz AFTER UPDATE ON trg4 FOR EACH ROW EXECUTE PROCEDURE trgtes | ||||
| -- | ||||
| -- Repack single schema | ||||
| -- | ||||
| CREATE SCHEMA only_this_schema; | ||||
| CREATE TABLE only_this_schema.tbl1 (id INTEGER PRIMARY KEY); | ||||
| CREATE TABLE only_this_schema.tbl2 (id INTEGER PRIMARY KEY); | ||||
| \! pg_repack --dbname=contrib_regression --schema=only_this_schema | ||||
| CREATE SCHEMA test_schema1; | ||||
| CREATE TABLE test_schema1.tbl1 (id INTEGER PRIMARY KEY); | ||||
| CREATE TABLE test_schema1.tbl2 (id INTEGER PRIMARY KEY); | ||||
| \! pg_repack --dbname=contrib_regression --schema=test_schema1 | ||||
|  | ||||
| -- | ||||
| -- Repack two schemas | ||||
| -- | ||||
| CREATE SCHEMA test_schema2; | ||||
| CREATE TABLE test_schema2.tbl1 (id INTEGER PRIMARY KEY); | ||||
| CREATE TABLE test_schema2.tbl2 (id INTEGER PRIMARY KEY); | ||||
| \! pg_repack --dbname=contrib_regression --schema=test_schema1 --schema=test_schema2 | ||||
|  | ||||
		Reference in New Issue
	
	Block a user