| From: | Noah Misch <noah(at)leadboat(dot)com> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Add tests for find_composite_type_dependencies() bugs |
| Date: | 2026-11-09 14:22:10 |
| Message-ID: | E1xQQGA-0000000041i-09eb@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
Add tests for find_composite_type_dependencies() bugs
There are a bunch of bugs in find_composite_type_dependencies(), which
will be fixed by subsequent commits. Usually we include tests in each
commit that fixes a bug, but there are so many variants of these that
it feels easier to add all the tests in one commit first, to show the
big picture. This commit memorizes the incorrect results in the
expected output, marked with FIXME comments to point out that they are
broken. The next commits will fix the issues, adjust the expected
output for the correct behavior, and remove the FIXMEs.
Backpatch-through: 14
Security: CVE-2026-6460
Branch
------
REL_15_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/3ee30c1dc9e1fdd256c631265654b07b33ff63b2
Author: Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>
Modified Files
--------------
src/test/regress/expected/alter_column_type.out | 503 ++++++++++++++++++++++++
src/test/regress/expected/alter_table.out | 27 +-
src/test/regress/expected/privileges.out | 9 +
src/test/regress/parallel_schedule | 2 +-
src/test/regress/sql/alter_column_type.sql | 431 ++++++++++++++++++++
src/test/regress/sql/alter_table.sql | 30 +-
src/test/regress/sql/privileges.sql | 12 +
7 files changed, 958 insertions(+), 56 deletions(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Noah Misch | 2026-11-09 14:22:11 | pgsql: Reject pseudo-type output parameters in SQL functions. |
| Previous Message | Noah Misch | 2026-11-09 14:22:09 | pgsql: Fix use-after-free issues due to drop of portals being set up |