pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: plpgsql: Expand test coverage of assignments
2+ messages / 1 participants
[nested] [flat]

* pgsql: plpgsql: Expand test coverage of assignments
@ 2026-11-09 14:21 Noah Misch <noah@leadboat.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Noah Misch @ 2026-11-09 14:21 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/2387f43ba8a1202a9a5f2c327387c2b1a1d48dfb
Author: Andres Freund <andres@anarazel.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(+)



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* pgsql: plpgsql: Expand test coverage of assignments
@ 2026-11-09 14:21 Noah Misch <noah@leadboat.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Noah Misch @ 2026-11-09 14:21 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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@anarazel.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(+)



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2026-11-09 14:21 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2026-11-09 14:21 pgsql: plpgsql: Expand test coverage of assignments Noah Misch <noah@leadboat.com>
2026-11-09 14:21 pgsql: plpgsql: Expand test coverage of assignments Noah Misch <noah@leadboat.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox