Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions src/test/regress/expected/multi_mx_hide_shard_names.out
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
--
-- Hide shard names on MX worker nodes
--
-- PostgreSQL 18 planner changes (probably AIO and updated cost model) make
-- sequential scans cheaper, so the psql `\d table`-style query that uses a
-- regex on `pg_class.relname` no longer chooses an index scan. This causes
-- a plan difference.
-- Alternative test output can be removed when we drop PG17 support
--
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 1130000;
-- make sure that the signature of the citus_table_is_visible
-- and pg_table_is_visible are the same since the logic
Expand Down
6 changes: 6 additions & 0 deletions src/test/regress/expected/multi_mx_hide_shard_names_0.out
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
--
-- Hide shard names on MX worker nodes
--
-- PostgreSQL 18 planner changes (probably AIO and updated cost model) make
-- sequential scans cheaper, so the psql `\d table`-style query that uses a
-- regex on `pg_class.relname` no longer chooses an index scan. This causes
-- a plan difference.
-- Alternative test output can be removed when we drop PG17 support
--
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 1130000;
-- make sure that the signature of the citus_table_is_visible
-- and pg_table_is_visible are the same since the logic
Expand Down
6 changes: 6 additions & 0 deletions src/test/regress/sql/multi_mx_hide_shard_names.sql
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
--
-- Hide shard names on MX worker nodes
--
-- PostgreSQL 18 planner changes (probably AIO and updated cost model) make
-- sequential scans cheaper, so the psql `\d table`-style query that uses a
-- regex on `pg_class.relname` no longer chooses an index scan. This causes
-- a plan difference.
-- Alternative test output can be removed when we drop PG17 support
--

ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 1130000;

Expand Down
Loading