| 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:22:12 |
| Message-ID: | E1xQQGC-0000000046d-0cb1@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
------
REL_15_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/d9373e99251775927b9865c07bc1fe3adfe11b0e
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:22:13 | pgsql: Handle composite type changes in ExecEvalFieldStore[De]Form |
| Previous Message | Noah Misch | 2026-11-09 14:22:11 | pgsql: plpgsql: recheck record field's type after casting value. |