Skip to content

Commit

Permalink
Update src/test/regress/sql/pg17.sql
Browse files Browse the repository at this point in the history
Co-authored-by: Naisila Puka <37271756+naisila@users.noreply.github.com>
  • Loading branch information
m3hm3t and naisila authored Dec 26, 2024
1 parent 3560c7a commit 702c622
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/test/regress/sql/pg17.sql
Original file line number Diff line number Diff line change
Expand Up @@ -533,7 +533,9 @@ ALTER INDEX tbl_idx ALTER COLUMN 2 SET STATISTICS -1;
-- Step 1: Local table setup (non-distributed)
CREATE TABLE test_local_table (id int);

-- Step 2: Attempt to set access method to DEFAULT on a local table (should succeed, or at least not raise the new distributed-specific error)
SELECT citus_add_local_table_to_metadata('test_local_table');

-- Step 2: Attempt to set access method to DEFAULT on a Citus local table (should fail)
ALTER TABLE test_local_table SET ACCESS METHOD DEFAULT;

-- Step 3: Setup: create and distribute a table
Expand Down

0 comments on commit 702c622

Please sign in to comment.