Re: bogus error message for ALTER TABLE ALTER CONSTRAINT - Mailing list pgsql-hackers

From Álvaro Herrera
Subject Re: bogus error message for ALTER TABLE ALTER CONSTRAINT
Date
Msg-id 202503041918.r7rssywqyv6a@alvherre.pgsql
Whole thread Raw
In response to Re: bogus error message for ALTER TABLE ALTER CONSTRAINT  (Nathan Bossart <nathandbossart@gmail.com>)
List pgsql-hackers
On 2025-Mar-04, Nathan Bossart wrote:

> On Tue, Mar 04, 2025 at 07:22:22PM +0100, Álvaro Herrera wrote:
> > I just discovered that trying to set a foreign key as NO INHERIT in
> > ALTER TABLE ALTER CONSTRAINT returns an absurd error message:

> > Here's the fix along with some additional cleanup.
> 
> LGTM

Many thanks for the quick look.  Pushed now.

-- 
Álvaro Herrera         PostgreSQL Developer  —  https://www.EnterpriseDB.com/
Thou shalt check the array bounds of all strings (indeed, all arrays), for
surely where thou typest "foo" someone someday shall type
"supercalifragilisticexpialidocious" (5th Commandment for C programmers)



pgsql-hackers by date:

Previous
From: Jacob Champion
Date:
Subject: Re: ecdh support causes unnecessary roundtrips
Next
From: Daniel Gustafsson
Date:
Subject: Re: ecdh support causes unnecessary roundtrips