pgsql: Expand EPQ test coverage

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

Expand EPQ test coverage

Test EPQ handling in presence of dropped columns and resjunk elements in
the targetlist. Development versions of an upcoming fix broke those
cases without breaking any extant tests.

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

Branch
------
master

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

Modified Files
--------------
.../expected/eval-plan-qual-dropped-column.out | 49 ++++++++++++++++
.../isolation/expected/eval-plan-qual-resjunk.out | 67 ++++++++++++++++++++++
src/test/isolation/isolation_schedule | 2 +
.../specs/eval-plan-qual-dropped-column.spec | 63 ++++++++++++++++++++
.../isolation/specs/eval-plan-qual-resjunk.spec | 56 ++++++++++++++++++
5 files changed, 237 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.