Re: let ALTER TABLE DROP COLUMN drop whole-row referenced object

From: jian he <jian(dot)universality(at)gmail(dot)com>
To: lakshmi <lakshmigcdac(at)gmail(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>, 金 <jinbinge(at)126(dot)com>, Kirill Reshke <reshkekirill(at)gmail(dot)com>, Chao Li <li(dot)evan(dot)chao(at)gmail(dot)com>
Subject: Re: let ALTER TABLE DROP COLUMN drop whole-row referenced object
Date: 2026-05-25 06:43:56
Message-ID: CACJufxGv5zmiRyRB+bpEWjWKh0+ka_bVadnFKs8+spY7wSak4A@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi.

[1] rebuilds whole-row dependencies for ALTER COLUMN SET EXPRESSION,
this thread addresses whole-row dependencies for ALTER TABLE DROP
COLUMN and ALTER COLUMN SET DATA TYPE.

Overall, the attached v9 doesn't include any major changes.
It just contains some refactoring to make the coding style consistent with [1].

[1] https://commitfest.postgresql.org/patch/6755

--
jian
https://www.enterprisedb.com/

Attachment Content-Type Size
v9-0002-fix-DDL-wholerow-referenced-triggers.patch text/x-patch 8.2 KB
v9-0003-fix-DDL-wholerow-referenced-policies.patch text/x-patch 13.5 KB
v9-0001-fix-DDL-wholerow-referenced-constraints-and-indexes.patch text/x-patch 16.1 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Chao Li 2026-05-25 07:07:38 Small fixes for CHECKPOINT FLUSH_UNLOGGED
Previous Message Zhijie Hou (Fujitsu) 2026-05-25 06:26:52 RE: Adding REPACK [concurrently]