Re: Assertion failure with ALTER TABLE ATTACH PARTITION with log_min_messages >= DEBUG1

Michael Paquier <michael@paquier.xyz>

From: Michael Paquier <michael@paquier.xyz>
To: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: Postgres hackers <pgsql-hackers@postgresql.org>
Date: 2018-10-06T06:00:38Z
Lists: pgsql-hackers
On Fri, Oct 05, 2018 at 11:27:59PM -0300, Alvaro Herrera wrote:
> Well, I think partially filling the struct is bad style.  I'm going to
> be messing with that shortly anyway, when adding support for FKs
> pointing to partitioned tables; maybe just leave it as is for now and
> I'll see about that later.

Yes, I agree that we had better change that on HEAD as that's a trap
waiting ahead.  I have let the comment as-is then.

> Please feel free if you have the time, thanks.

Okay, done and back-patched down to v11 where this was introduced.
--
Michael

Commits

  1. Assign constraint name when cloning FK definition for partitions