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_17_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/d4f8c3e15eff25dde290cfd828dec943e6e9bb6e
Author: Heikki Linnakangas <[email protected]>

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 via email to