pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Check relation dependencies more carefully
3+ messages / 1 participants
[nested] [flat]

* pgsql: Check relation dependencies more carefully
@ 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

Check relation dependencies more carefully

Similar to previous commits, if a relation depends on a composite
type, we need to inspect it more carefully.  We already checked tables
using the composite type in columns, but the dependency might also
exist because a partitioned table's PARTITION BY expression uses the
type, or an expression in an expression or partial index.

For all reporters and public discussions, see previous commits.

Co-authored-by: Nathan Bossart <nathandbossart@gmail.com>
Reviewed-by: Amit Langote <amitlangote09@gmail.com>
Reviewed-by: Andres Freund <andres@anarazel.de>
Security: CVE-2026-6460
Backpatch-through: 14

Branch
------
master

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

Modified Files
--------------
src/backend/commands/tablecmds.c                | 200 +++++++++++++++++++-----
src/test/regress/expected/alter_column_type.out |  36 ++---
src/test/regress/expected/generated_stored.out  |   8 +
src/test/regress/expected/generated_virtual.out |   8 +
src/test/regress/sql/alter_column_type.sql      |  22 ++-
src/test/regress/sql/generated_stored.sql       |   7 +
src/test/regress/sql/generated_virtual.sql      |   7 +
7 files changed, 216 insertions(+), 72 deletions(-)



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

* pgsql: Check relation dependencies more carefully
@ 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

Check relation dependencies more carefully

Similar to previous commits, if a relation depends on a composite
type, we need to inspect it more carefully.  We already checked tables
using the composite type in columns, but the dependency might also
exist because a partitioned table's PARTITION BY expression uses the
type, or an expression in an expression or partial index.

For all reporters and public discussions, see previous commits.

Co-authored-by: Nathan Bossart <nathandbossart@gmail.com>
Reviewed-by: Amit Langote <amitlangote09@gmail.com>
Reviewed-by: Andres Freund <andres@anarazel.de>
Security: CVE-2026-6460
Backpatch-through: 14

Branch
------
REL_19_STABLE

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

Modified Files
--------------
src/backend/commands/tablecmds.c                | 200 +++++++++++++++++++-----
src/test/regress/expected/alter_column_type.out |  36 ++---
src/test/regress/expected/generated_stored.out  |   8 +
src/test/regress/expected/generated_virtual.out |   8 +
src/test/regress/sql/alter_column_type.sql      |  22 ++-
src/test/regress/sql/generated_stored.sql       |   7 +
src/test/regress/sql/generated_virtual.sql      |   7 +
7 files changed, 216 insertions(+), 72 deletions(-)



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

* pgsql: Check relation dependencies more carefully
@ 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

Check relation dependencies more carefully

Similar to previous commits, if a relation depends on a composite
type, we need to inspect it more carefully.  We already checked tables
using the composite type in columns, but the dependency might also
exist because a partitioned table's PARTITION BY expression uses the
type, or an expression in an expression or partial index.

For all reporters and public discussions, see previous commits.

Co-authored-by: Nathan Bossart <nathandbossart@gmail.com>
Reviewed-by: Amit Langote <amitlangote09@gmail.com>
Reviewed-by: Andres Freund <andres@anarazel.de>
Security: CVE-2026-6460
Backpatch-through: 14

Branch
------
REL_18_STABLE

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

Modified Files
--------------
src/backend/commands/tablecmds.c                | 200 +++++++++++++++++++-----
src/test/regress/expected/alter_column_type.out |  36 ++---
src/test/regress/expected/generated_stored.out  |   7 +
src/test/regress/expected/generated_virtual.out |   7 +
src/test/regress/sql/alter_column_type.sql      |  22 ++-
src/test/regress/sql/generated_stored.sql       |   7 +
src/test/regress/sql/generated_virtual.sql      |   7 +
7 files changed, 214 insertions(+), 72 deletions(-)



^ 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: Check relation dependencies more carefully Noah Misch <noah@leadboat.com>
2026-11-09 14:21 pgsql: Check relation dependencies more carefully Noah Misch <noah@leadboat.com>
2026-11-09 14:22 pgsql: Check relation dependencies more carefully 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