pgsql: Improve test coverage for changes to inplace-updated catalogs.

From: Noah Misch <noah(at)leadboat(dot)com>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Improve test coverage for changes to inplace-updated catalogs.
Date: 2024-06-28 02:26:54
Message-ID: [email protected]
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Improve test coverage for changes to inplace-updated catalogs.

This covers both regular and inplace changes, since bugs arise at their
intersection. Where marked, these witness extant bugs. Back-patch to
v12 (all supported versions).

Reviewed (in an earlier version) by Robert Haas.

Discussion: https://postgr.es/m/[email protected]

Branch
------
REL_16_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/dd8008e8ec956845a3a25060e596994192489f0a

Modified Files
--------------
src/bin/pgbench/t/001_pgbench_with_server.pl | 28 +++
src/test/isolation/expected/eval-plan-qual.out | 26 +++
src/test/isolation/expected/inplace-inval.out | 32 +++
.../isolation/expected/intra-grant-inplace-db.out | 28 +++
.../isolation/expected/intra-grant-inplace.out | 225 +++++++++++++++++++++
src/test/isolation/isolation_schedule | 3 +
src/test/isolation/specs/eval-plan-qual.spec | 21 ++
src/test/isolation/specs/inplace-inval.spec | 38 ++++
.../isolation/specs/intra-grant-inplace-db.spec | 46 +++++
src/test/isolation/specs/intra-grant-inplace.spec | 153 ++++++++++++++
src/test/recovery/t/027_stream_regress.pl | 34 ++++
src/test/regress/expected/database.out | 15 ++
src/test/regress/expected/merge.out | 11 +
src/test/regress/parallel_schedule | 2 +-
src/test/regress/sql/database.sql | 17 ++
src/test/regress/sql/merge.sql | 14 ++
16 files changed, 692 insertions(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Noah Misch 2024-06-28 02:26:55 pgsql: AccessExclusiveLock new relations just after assigning the OID.
Previous Message Amit Langote 2024-06-28 00:46:29 pgsql: SQL/JSON: Document behavior when input document is not jsonb