| From: | Noah Misch <noah(at)leadboat(dot)com> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: plpgsql: Expand test coverage of assignments |
| Date: | 2026-11-09 14:21:56 |
| Message-ID: | E1xQQFw-000000003XY-0BiT@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
plpgsql: Expand test coverage of assignments
We previously were lacking coverage for important assignment related
codepaths that will be touched in an upcoming fix:
- Assignment between record variables preserve ctid/tableoid only when
the source tuple can be copied verbatim; where a conversion is needed
they are silently dropped.
- A record variable's declared type is re-resolved by name
Security: CVE-2026-6460
Backpatch-through: 14
Branch
------
REL_19_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/dca6ff5dcd1aa4066e085a1b2f8591a47a159b1e
Author: Andres Freund <andres(at)anarazel(dot)de>
Modified Files
--------------
src/pl/plpgsql/src/expected/plpgsql_record.out | 358 ++++++++++++++++++++++++
src/pl/plpgsql/src/sql/plpgsql_record.sql | 359 +++++++++++++++++++++++++
2 files changed, 717 insertions(+)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Noah Misch | 2026-11-09 14:21:57 | pgsql: Fix reusing large allocations in generation memory contexts |
| Previous Message | Noah Misch | 2026-11-09 14:21:55 | pgsql: Fix type confusion with materialized set-returning functions |