diff --git a/src/test/regress/expected/pg15.out b/src/test/regress/expected/pg15.out index 25d93807f..1ef480084 100644 --- a/src/test/regress/expected/pg15.out +++ b/src/test/regress/expected/pg15.out @@ -1181,6 +1181,14 @@ RESET ROLE; -- supported in Citus when the query view contains citus tables UPDATE sec_invoker_view SET event_id = 5; ERROR: cannot modify views when the query contains citus tables +-- +-- Not allow ON DELETE/UPDATE SET DEFAULT actions on columns that +-- default to sequences +-- Adding a special test here since in PG15 we can +-- specify column list for foreign key ON DELETE SET actions +-- Relevant PG commit: +-- d6f96ed94e73052f99a2e545ed17a8b2fdc1fb8a +-- CREATE TABLE set_on_default_test_referenced( col_1 int, col_2 int, col_3 int, col_4 int, unique (col_1, col_3) diff --git a/src/test/regress/sql/pg15.sql b/src/test/regress/sql/pg15.sql index 872701829..9dedc149b 100644 --- a/src/test/regress/sql/pg15.sql +++ b/src/test/regress/sql/pg15.sql @@ -749,6 +749,15 @@ RESET ROLE; -- supported in Citus when the query view contains citus tables UPDATE sec_invoker_view SET event_id = 5; +-- +-- Not allow ON DELETE/UPDATE SET DEFAULT actions on columns that +-- default to sequences +-- Adding a special test here since in PG15 we can +-- specify column list for foreign key ON DELETE SET actions +-- Relevant PG commit: +-- d6f96ed94e73052f99a2e545ed17a8b2fdc1fb8a +-- + CREATE TABLE set_on_default_test_referenced( col_1 int, col_2 int, col_3 int, col_4 int, unique (col_1, col_3)