Skip to content

Commit

Permalink
Cherry-pick fix: remove gp_appendonly_enable_unique_index GUC
Browse files Browse the repository at this point in the history
  • Loading branch information
reshke committed Jan 29, 2025
1 parent f816e4c commit c407872
Show file tree
Hide file tree
Showing 8 changed files with 823 additions and 6 deletions.
1 change: 0 additions & 1 deletion src/test/isolation2/expected/ao_unique_index.out
Original file line number Diff line number Diff line change
Expand Up @@ -571,5 +571,4 @@ DETAIL: Key (a, b)=(1, 1) already exists.
ERROR: duplicate key value violates unique constraint "a_b_unique"
DROP TABLE unique_index_ao_row;
DROP
RESET gp_appendonly_enable_unique_index;
RESET
1 change: 0 additions & 1 deletion src/test/isolation2/expected/aocs_unique_index.out
Original file line number Diff line number Diff line change
Expand Up @@ -571,5 +571,4 @@ DETAIL: Key (a, b)=(1, 1) already exists.
ERROR: duplicate key value violates unique constraint "a_b_unique"
DROP TABLE unique_index_ao_column;
DROP
RESET gp_appendonly_enable_unique_index;
RESET
1 change: 0 additions & 1 deletion src/test/isolation2/sql/ao_unique_index.sql
Original file line number Diff line number Diff line change
Expand Up @@ -377,4 +377,3 @@ INSERT INTO unique_index_ao_row VALUES (1,2);
-- should conflict
INSERT INTO unique_index_ao_row VALUES (1,1);
DROP TABLE unique_index_ao_row;
RESET gp_appendonly_enable_unique_index;
1 change: 0 additions & 1 deletion src/test/isolation2/sql/aocs_unique_index.sql
Original file line number Diff line number Diff line change
Expand Up @@ -377,4 +377,3 @@ INSERT INTO unique_index_ao_column VALUES (1,2);
-- should conflict
INSERT INTO unique_index_ao_column VALUES (1,1);
DROP TABLE unique_index_ao_column;
RESET gp_appendonly_enable_unique_index;
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ SELECT * FROM unique_index_build_@amname@ WHERE i = 6;

DROP TABLE unique_index_build_@amname@;

RESET gp_appendonly_enable_unique_index;
RESET default_table_access_method;
RESET enable_seqscan;
RESET optimizer;
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,6 @@ SELECT * FROM unique_index_build_@amname@ WHERE i = 6;
(3 rows)

DROP TABLE unique_index_build_@amname@;
RESET gp_appendonly_enable_unique_index;
RESET default_table_access_method;
RESET enable_seqscan;
RESET optimizer;
361 changes: 361 additions & 0 deletions src/test/regress/regression.diffs

Large diffs are not rendered by default.

462 changes: 462 additions & 0 deletions src/test/regress/regression.out

Large diffs are not rendered by default.

0 comments on commit c407872

Please sign in to comment.