pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Add some very basic tests for make_expanded_record_from_datum() 3+ messages / 1 participants [nested] [flat]
* pgsql: Add some very basic tests for make_expanded_record_from_datum() @ 2026-11-09 14:21 Noah Misch <noah@leadboat.com> 0 siblings, 0 replies; 3+ messages in thread From: Noah Misch @ 2026-11-09 14:21 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Add some very basic tests for make_expanded_record_from_datum() make_expanded_record_from_datum() / DatumGetExpandedRecord() / PG_GETARG_EXPANDED_RECORD() were unused. I could not find any extensions using it either. It seemed too likely that one of the subsequent fixes in this series would break them, therefore this adds some tests (written with AI help). Security: CVE-2026-6460 Backpatch-through: 14 Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/e874b27122a281e3a17d1db8664c14eb15794282 Author: Andres Freund <andres@anarazel.de> Modified Files -------------- src/test/regress/expected/rowtypes.out | 40 ++++++++++++++++++ src/test/regress/expected/test_setup.out | 13 ++++++ src/test/regress/regress.c | 72 ++++++++++++++++++++++++++++++++ src/test/regress/sql/rowtypes.sql | 21 ++++++++++ src/test/regress/sql/test_setup.sql | 16 +++++++ 5 files changed, 162 insertions(+) ^ permalink raw reply [nested|flat] 3+ messages in thread
* pgsql: Add some very basic tests for make_expanded_record_from_datum() @ 2026-11-09 14:21 Noah Misch <noah@leadboat.com> 0 siblings, 0 replies; 3+ messages in thread From: Noah Misch @ 2026-11-09 14:21 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Add some very basic tests for make_expanded_record_from_datum() make_expanded_record_from_datum() / DatumGetExpandedRecord() / PG_GETARG_EXPANDED_RECORD() were unused. I could not find any extensions using it either. It seemed too likely that one of the subsequent fixes in this series would break them, therefore this adds some tests (written with AI help). Security: CVE-2026-6460 Backpatch-through: 14 Branch ------ REL_19_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/5b8f65da64e528990c4dbfee8a4d9fdc804b63e1 Author: Andres Freund <andres@anarazel.de> Modified Files -------------- src/test/regress/expected/rowtypes.out | 40 ++++++++++++++++++ src/test/regress/expected/test_setup.out | 13 ++++++ src/test/regress/regress.c | 72 ++++++++++++++++++++++++++++++++ src/test/regress/sql/rowtypes.sql | 21 ++++++++++ src/test/regress/sql/test_setup.sql | 16 +++++++ 5 files changed, 162 insertions(+) ^ permalink raw reply [nested|flat] 3+ messages in thread
* pgsql: Add some very basic tests for make_expanded_record_from_datum() @ 2026-11-09 14:22 Noah Misch <noah@leadboat.com> 0 siblings, 0 replies; 3+ messages in thread From: Noah Misch @ 2026-11-09 14:22 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Add some very basic tests for make_expanded_record_from_datum() make_expanded_record_from_datum() / DatumGetExpandedRecord() / PG_GETARG_EXPANDED_RECORD() were unused. I could not find any extensions using it either. It seemed too likely that one of the subsequent fixes in this series would break them, therefore this adds some tests (written with AI help). Security: CVE-2026-6460 Backpatch-through: 14 Branch ------ REL_18_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/da2cb60900a5a6777aac7979769e917174f350c0 Author: Andres Freund <andres@anarazel.de> Modified Files -------------- src/test/regress/expected/rowtypes.out | 40 ++++++++++++++++++ src/test/regress/expected/test_setup.out | 13 ++++++ src/test/regress/regress.c | 72 ++++++++++++++++++++++++++++++++ src/test/regress/sql/rowtypes.sql | 21 ++++++++++ src/test/regress/sql/test_setup.sql | 16 +++++++ 5 files changed, 162 insertions(+) ^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2026-11-09 14:22 UTC | newest] Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2026-11-09 14:21 pgsql: Add some very basic tests for make_expanded_record_from_datum() Noah Misch <noah@leadboat.com> 2026-11-09 14:21 pgsql: Add some very basic tests for make_expanded_record_from_datum() Noah Misch <noah@leadboat.com> 2026-11-09 14:22 pgsql: Add some very basic tests for make_expanded_record_from_datum() 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