From: Noah Misch <noah@leadboat.com>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Start to record type dependencies on index expressions et al
Date: Mon, 09 Nov 2026 14:21:55 +0000
Message-ID: <E1xQQFv-000000003VV-0XVt@gemulon.postgresql.org> (raw)
Start to record type dependencies on index expressions et al
With this, we can remove find_missing_composite_type_dependencies() in
'master', but I'll do that in a separate commit. This doesn't help
with existing missing dependencies, so we need to keep
find_missing_composite_type_dependencies() in backbranches. It's
still better to record them going forward, though, even in
backbranches.
For all reporters and public discussions, see previous commits.
Security: CVE-2026-6460
Backpatch-through: 14
Branch
------
REL_19_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/8490bd80e8c7f651ef51d44b8391c9b2a4adead6
Author: Heikki Linnakangas <heikki.linnakangas@iki.fi>
Modified Files
--------------
src/backend/catalog/dependency.c | 37 ++++++++++++++++++
src/backend/commands/tablecmds.c | 51 ++++++++++++-------------
src/test/regress/expected/alter_column_type.out | 4 +-
src/test/regress/expected/privileges.out | 1 +
4 files changed, 64 insertions(+), 29 deletions(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: noah@leadboat.com
Subject: Re: pgsql: Start to record type dependencies on index expressions et al
In-Reply-To: <E1xQQFv-000000003VV-0XVt@gemulon.postgresql.org>
References: <E1xQQFv-000000003VV-0XVt@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
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