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 <[email protected]> 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(+)
