| From: | Noah Misch <noah(at)leadboat(dot)com> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Start to record type dependencies on index expressions et al |
| Date: | 2026-11-09 14:21:55 |
| Message-ID: | E1xQQFv-000000003VV-0XVt@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
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(dot)linnakangas(at)iki(dot)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(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Noah Misch | 2026-11-09 14:21:56 | pgsql: Add tests for row type changes causing issues |
| Previous Message | Noah Misch | 2026-11-09 14:21:54 | pgsql: Check for Consts in domain DEFAULTs |