pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Noah Misch <noah@leadboat.com>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Improve test coverage for changes to inplace-updated catalogs.
Date: Fri, 28 Jun 2024 02:26:54 +0000
Message-ID: <E1sN1K9-003Iyt-MS@gemulon.postgresql.org> (raw)

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(-)



view thread (6+ messages)  latest in thread

Message-ID: <E1sN1K9-003Iyt-MS@gemulon.postgresql.org>
Permalink:  ../E1sN1K9-003Iyt-MS@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1sN1K9-003Iyt-MS@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: noah@leadboat.com, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Improve test coverage for changes to inplace-updated catalogs.
  In-Reply-To: <E1sN1K9-003Iyt-MS@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox