| From: | Noah Misch <noah(at)leadboat(dot)com> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Add tests for row type changes causing issues |
| Date: | 2026-11-09 14:21:51 |
| Message-ID: | E1xQQFr-000000003O3-37hk@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
Add tests for row type changes causing issues
Most of these show the problem by displaying 'FIXME' in test output in
case of problems, for more details about that aspect see
rowtypes_alter.sql.
A large percentage of these tests were converted from a larger set of
tests that were not mergeable in their former shape.
Author: Andres Freund <andres(at)anarazel(dot)de>
Author: Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi> (in different form)
Security: CVE-2026-6460
Backpatch-through: 14
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/ed121a1a43ec6a748bec48832d75e4b278e84bb0
Author: Andres Freund <andres(at)anarazel(dot)de>
Modified Files
--------------
.../expected/eval-plan-qual-rowtype-alter.out | 64 +
src/test/isolation/expected/rowtypes-alter.out | 188 +++
src/test/isolation/isolation_schedule | 2 +
.../specs/eval-plan-qual-rowtype-alter.spec | 83 +
src/test/isolation/specs/rowtypes-alter.spec | 136 ++
src/test/regress/expected/rowtypes_alter.out | 1749 ++++++++++++++++++++
src/test/regress/parallel_schedule | 5 +
src/test/regress/sql/rowtypes_alter.sql | 1416 ++++++++++++++++
8 files changed, 3643 insertions(+)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Noah Misch | 2026-11-09 14:21:52 | pgsql: Avoid use-after-free hazards in re-entrant use of pltcl. |
| Previous Message | Noah Misch | 2026-11-09 14:21:50 | pgsql: Teach equalRowTypes() to safely handle dropped columns. |