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_14_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/bdef8fa63cf71b9aff899672960d5ca8ef3e4cda 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(+)
