public inbox for [email protected]  
help / color / mirror / Atom feed
From: John Naylor <[email protected]>
To: [email protected]
Subject: pgsql: Rationalize error comments in partition split/merge tests
Date: Thu, 07 May 2026 12:13:07 +0000
Message-ID: <[email protected]> (raw)

Rationalize error comments in partition split/merge tests

The regression tests had a copy of the full error, detail, and hint
text in comments above each failing statement in the .sql files. This
is a maintenance hazard, so simplify to "-- ERROR", in line with
other tests.

Author: Ayush Tiwari <[email protected]>
Reviewed-by: Jian He <[email protected]>
Discussion: https://postgr.es/m/CANWCAZap26BRLwtd+A7GFDSD6-+C3F0NVdUGUAu2LUfvpOTy=w@mail.gmail.com

Branch
------
master

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

Modified Files
--------------
src/test/regress/expected/partition_merge.out | 44 ++++++++-------
src/test/regress/expected/partition_split.out | 78 ++++++++++++---------------
src/test/regress/sql/partition_merge.sql      | 44 ++++++++-------
src/test/regress/sql/partition_split.sql      | 78 ++++++++++++---------------
4 files changed, 112 insertions(+), 132 deletions(-)



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: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: pgsql: Rationalize error comments in partition split/merge tests
  In-Reply-To: <[email protected]>

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

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