Add tests for alter sequence owned by an identity column

issue/6694
Gokhan Gulbiz 2023-03-27 12:53:57 +03:00
parent 235e653754
commit 6a69ae5dee
No known key found for this signature in database
GPG Key ID: 608EF06B6BD1B45B
1 changed files with 3 additions and 0 deletions

View File

@ -191,10 +191,13 @@ INSERT INTO color(color_name) VALUES ('Blue');
SET search_path TO generated_identities;
\d+ color
INSERT INTO color(color_name) VALUES ('Red');
ALTER SEQUENCE color_color_id_seq RESTART WITH 1000;
\c - postgres - :master_port
SET search_path TO generated_identities;
SET client_min_messages to ERROR;
ALTER SEQUENCE color_color_id_seq RESTART WITH 1000;
DROP SCHEMA generated_identities CASCADE;
DROP USER identity_test_user;