Add PG18 compatibility note for psql "\d" query optimization in regression tests

pull/8333/head
Mehmet Yilmaz 2025-11-14 07:09:47 +00:00
parent 0019f39d27
commit dd54772e0d
3 changed files with 3 additions and 0 deletions

View File

@ -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
-- scan
-- PG18+: the psql \d-style regex on pg_class can flip the plan to a Seq Scan
EXPLAIN (COSTS OFF) SELECT c.oid,
n.nspname,
c.relname

View File

@ -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
-- scan
-- PG18+: the psql \d-style regex on pg_class can flip the plan to a Seq Scan
EXPLAIN (COSTS OFF) SELECT c.oid,
n.nspname,
c.relname

View File

@ -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
-- scan
-- PG18+: the psql \d-style regex on pg_class can flip the plan to a Seq Scan
EXPLAIN (COSTS OFF) SELECT c.oid,
n.nspname,
c.relname