mirror of https://github.com/citusdata/citus.git
Add PG18 compatibility note for psql "\d" query optimization in regression tests
parent
0019f39d27
commit
dd54772e0d
|
|
@ -109,6 +109,7 @@ EXPLAIN (COSTS OFF) INSERT INTO pg_class SELECT * FROM pg_class;
|
||||||
|
|
||||||
-- Check that query that psql "\d test_table" does gets optimized to an index
|
-- Check that query that psql "\d test_table" does gets optimized to an index
|
||||||
-- scan
|
-- scan
|
||||||
|
-- PG18+: the psql \d-style regex on pg_class can flip the plan to a Seq Scan
|
||||||
EXPLAIN (COSTS OFF) SELECT c.oid,
|
EXPLAIN (COSTS OFF) SELECT c.oid,
|
||||||
n.nspname,
|
n.nspname,
|
||||||
c.relname
|
c.relname
|
||||||
|
|
|
||||||
|
|
@ -109,6 +109,7 @@ EXPLAIN (COSTS OFF) INSERT INTO pg_class SELECT * FROM pg_class;
|
||||||
|
|
||||||
-- Check that query that psql "\d test_table" does gets optimized to an index
|
-- Check that query that psql "\d test_table" does gets optimized to an index
|
||||||
-- scan
|
-- scan
|
||||||
|
-- PG18+: the psql \d-style regex on pg_class can flip the plan to a Seq Scan
|
||||||
EXPLAIN (COSTS OFF) SELECT c.oid,
|
EXPLAIN (COSTS OFF) SELECT c.oid,
|
||||||
n.nspname,
|
n.nspname,
|
||||||
c.relname
|
c.relname
|
||||||
|
|
|
||||||
|
|
@ -60,6 +60,7 @@ EXPLAIN (COSTS OFF) INSERT INTO pg_class SELECT * FROM pg_class;
|
||||||
|
|
||||||
-- Check that query that psql "\d test_table" does gets optimized to an index
|
-- Check that query that psql "\d test_table" does gets optimized to an index
|
||||||
-- scan
|
-- scan
|
||||||
|
-- PG18+: the psql \d-style regex on pg_class can flip the plan to a Seq Scan
|
||||||
EXPLAIN (COSTS OFF) SELECT c.oid,
|
EXPLAIN (COSTS OFF) SELECT c.oid,
|
||||||
n.nspname,
|
n.nspname,
|
||||||
c.relname
|
c.relname
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue