Re: ALTER CONSTRAINT on a partitioned FK isn't working

Alvaro Herrera <alvherre@alvh.no-ip.org>

From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-bugs@lists.postgresql.org, Ron <ronljohnsonjr@gmail.com>
Date: 2021-05-05T16:24:17Z
Lists: pgsql-bugs
On 2021-May-04, Alvaro Herrera wrote:

> So the attached version does that and I intend to get it pushed to all
> branches (since 11) this afternoon unless I get any objections.

Pushed it now, with some further adjustments.

-- 
Álvaro Herrera                            39°49'30"S 73°17'W



Commits

  1. Have ALTER CONSTRAINT recurse on partitioned tables

  2. Fix OID passed to object-alter hook during ALTER CONSTRAINT