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

From Noah Misch
Subject pgsql: Improve test coverage for changes to inplace-updated catalogs.
Date
Msg-id E1sN1K9-003Iyt-MS@gemulon.postgresql.org
Whole thread Raw
List 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/20240512232923.aa.nmisch@google.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/0844b3968985447ed0a6937cfc8639e379da2fe6

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                |  24 +++
src/test/regress/parallel_schedule                 |   2 +-
src/test/regress/sql/database.sql                  |  17 ++
src/test/regress/sql/merge.sql                     |  17 ++
16 files changed, 708 insertions(+), 1 deletion(-)


pgsql-committers by date:

Previous
From: Amit Langote
Date:
Subject: pgsql: SQL/JSON: Document behavior when input document is not jsonb
Next
From: Noah Misch
Date:
Subject: pgsql: Remove comment about xl_heap_inplace "AT END OF STRUCT".