Re: simplifying grammar for ALTER CONSTRAINT .. SET [NO] INHERIT - Mailing list pgsql-hackers

From Álvaro Herrera
Subject Re: simplifying grammar for ALTER CONSTRAINT .. SET [NO] INHERIT
Date
Msg-id 202503251605.e6yngze7aeim@alvherre.pgsql
Whole thread Raw
In response to simplifying grammar for ALTER CONSTRAINT .. SET [NO] INHERIT  (Álvaro Herrera <alvherre@alvh.no-ip.org>)
List pgsql-hackers
On 2025-Mar-25, Álvaro Herrera wrote:

> With commit f4e53e10b6ce we introduced a way to flip the NO INHERIT bit
> on not-null constraints.  However, because of the way the grammar
> dealt with ALTER CONSTRAINT, we were too blind to see a way to implement
> it using the existing production.

Patch attached.

-- 
Álvaro Herrera         PostgreSQL Developer  —  https://www.EnterpriseDB.com/
"Someone said that it is at least an order of magnitude more work to do
production software than a prototype. I think he is wrong by at least
an order of magnitude."                              (Brian Kernighan)

Attachment

pgsql-hackers by date:

Previous
From: Álvaro Herrera
Date:
Subject: simplifying grammar for ALTER CONSTRAINT .. SET [NO] INHERIT
Next
From: Noah Misch
Date:
Subject: Re: AIO v2.5