fix alter_table_modify_ustore unstable.

Signed-off-by: pengjiong <totaj@qq.com>
This commit is contained in:
pengjiong
2023-03-09 08:53:14 +00:00
committed by Gitee
parent c48f7075fa
commit 39c6327a93

View File

@ -1340,8 +1340,8 @@ select pg_get_tabledef('test_at_change_constr'::regclass);
CONSTRAINT t_at_m_check CHECK (((b1)::bigint < 5)) +
) +
WITH (orientation=row, storage_type=ustore, compression=no); +
ALTER TABLE test_at_change_constr ADD CONSTRAINT test_at_change_constr_b1_key UNIQUE USING ubtree (b1) WITH (storage_type=ustore); +
ALTER TABLE test_at_change_constr ADD CONSTRAINT test_at_change_constr_pkey PRIMARY KEY USING ubtree (b1) WITH (storage_type=ustore);
--?ALTER TABLE test_at_change_constr ADD CONSTRAINT .* USING ubtree .*(b1) WITH (storage_type=ustore); +
--?ALTER TABLE test_at_change_constr ADD CONSTRAINT .* USING ubtree .*(b1) WITH (storage_type=ustore);
(1 row)
ALTER TABLE test_at_change_constr CHANGE b1 b int NOT NULL REFERENCES test_at_ref (a); -- ERROR