Rationalize error comments in partition split/merge tests
John Naylor <john.naylor@postgresql.org>
Author:
John Naylor <john.naylor@postgresql.org>
Date: 2026-05-07T12:10:51Z
Releases:
19 (unreleased)
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 <ayushtiwari.slg01@gmail.com> Reviewed-by: Jian He <jian.universality@gmail.com> Discussion: https://postgr.es/m/CANWCAZap26BRLwtd+A7GFDSD6-+C3F0NVdUGUAu2LUfvpOTy=w@mail.gmail.com
Files
| Path | Change | +/− |
|---|---|---|
| src/test/regress/expected/partition_merge.out | modified | +21 −23 |
| src/test/regress/expected/partition_split.out | modified | +35 −43 |
| src/test/regress/sql/partition_merge.sql | modified | +21 −23 |
| src/test/regress/sql/partition_split.sql | modified | +35 −43 |
Discussion
- [PATCH] Fix duplicate errmsg in ALTER TABLE SPLIT PARTITION 20 messages · 2026-04-21 → 2026-05-07