mirror of https://github.com/citusdata/citus.git
Add tests for alter sequence owned by an identity column
parent
235e653754
commit
6a69ae5dee
|
@ -191,10 +191,13 @@ INSERT INTO color(color_name) VALUES ('Blue');
|
||||||
SET search_path TO generated_identities;
|
SET search_path TO generated_identities;
|
||||||
\d+ color
|
\d+ color
|
||||||
INSERT INTO color(color_name) VALUES ('Red');
|
INSERT INTO color(color_name) VALUES ('Red');
|
||||||
|
ALTER SEQUENCE color_color_id_seq RESTART WITH 1000;
|
||||||
|
|
||||||
\c - postgres - :master_port
|
\c - postgres - :master_port
|
||||||
SET search_path TO generated_identities;
|
SET search_path TO generated_identities;
|
||||||
SET client_min_messages to ERROR;
|
SET client_min_messages to ERROR;
|
||||||
|
ALTER SEQUENCE color_color_id_seq RESTART WITH 1000;
|
||||||
|
|
||||||
|
|
||||||
DROP SCHEMA generated_identities CASCADE;
|
DROP SCHEMA generated_identities CASCADE;
|
||||||
DROP USER identity_test_user;
|
DROP USER identity_test_user;
|
||||||
|
|
Loading…
Reference in New Issue