pgsql: Expand ALTER TABLE related tests

From: Noah Misch <noah(at)leadboat(dot)com>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Expand ALTER TABLE related tests
Date: 2026-11-09 14:21:51
Message-ID: E1xQQFr-000000003Ns-2pNs@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Expand ALTER TABLE related tests

An upcoming fix touches related code. It turns out there were a number
of cases there were not or only incidentally tested. In particular, we
didn't leave tables with combinations of dropped columns to be tested by
002_pg_upgrade.pl

Security: CVE-2026-6460
Backpatch-through: 14

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/3d855ce1ab3785f269045f226ecc24afa3fa7d63
Author: Andres Freund <andres(at)anarazel(dot)de>

Modified Files
--------------
src/test/regress/expected/alter_table.out | 242 ++++++++++++++++++++++++++++++
src/test/regress/sql/alter_table.sql | 175 +++++++++++++++++++++
2 files changed, 417 insertions(+)

Browse pgsql-committers by date

  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.