pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Add tests for find_composite_type_dependencies() bugs
4+ messages / 1 participants
[nested] [flat]

* pgsql: Add tests for find_composite_type_dependencies() bugs
@ 2026-11-09 14:21 Noah Misch <noah@leadboat.com>
  0 siblings, 0 replies; 4+ messages in thread

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

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

Details
-------
https://git.postgresql.org/pg/commitdiff/f70f28fec97ce0614d89555da2fb9ac872f564e7
Author: Heikki Linnakangas <heikki.linnakangas@iki.fi>

Modified Files
--------------
src/test/regress/expected/alter_column_type.out | 510 ++++++++++++++++++++++++
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      | 439 ++++++++++++++++++++
src/test/regress/sql/alter_table.sql            |  30 +-
src/test/regress/sql/privileges.sql             |  12 +
7 files changed, 973 insertions(+), 56 deletions(-)



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

* pgsql: Add tests for find_composite_type_dependencies() bugs
@ 2026-11-09 14:21 Noah Misch <noah@leadboat.com>
  0 siblings, 0 replies; 4+ messages in thread

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

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_19_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/7575d08c68ea521f85807c68c73899b95960127d
Author: Heikki Linnakangas <heikki.linnakangas@iki.fi>

Modified Files
--------------
src/test/regress/expected/alter_column_type.out | 510 ++++++++++++++++++++++++
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      | 439 ++++++++++++++++++++
src/test/regress/sql/alter_table.sql            |  30 +-
src/test/regress/sql/privileges.sql             |  12 +
7 files changed, 973 insertions(+), 56 deletions(-)



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

* pgsql: Add tests for find_composite_type_dependencies() bugs
@ 2026-11-09 14:21 Noah Misch <noah@leadboat.com>
  0 siblings, 0 replies; 4+ messages in thread

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

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_18_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/692f4b3c49562435b058ebfe12e08ebee5617cd3
Author: Heikki Linnakangas <heikki.linnakangas@iki.fi>

Modified Files
--------------
src/test/regress/expected/alter_column_type.out | 510 ++++++++++++++++++++++++
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      | 439 ++++++++++++++++++++
src/test/regress/sql/alter_table.sql            |  30 +-
src/test/regress/sql/privileges.sql             |  12 +
7 files changed, 973 insertions(+), 56 deletions(-)



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

* pgsql: Add tests for find_composite_type_dependencies() bugs
@ 2026-11-09 14:22 Noah Misch <noah@leadboat.com>
  0 siblings, 0 replies; 4+ messages in thread

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

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.linnakangas@iki.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(-)



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


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

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2026-11-09 14:21 pgsql: Add tests for find_composite_type_dependencies() bugs Noah Misch <noah@leadboat.com>
2026-11-09 14:21 pgsql: Add tests for find_composite_type_dependencies() bugs Noah Misch <noah@leadboat.com>
2026-11-09 14:21 pgsql: Add tests for find_composite_type_dependencies() bugs Noah Misch <noah@leadboat.com>
2026-11-09 14:22 pgsql: Add tests for find_composite_type_dependencies() bugs 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