Re: simplifying grammar for ALTER CONSTRAINT .. SET [NO] INHERIT

Поиск
Список
Период
Сортировка
От Álvaro Herrera
Тема Re: simplifying grammar for ALTER CONSTRAINT .. SET [NO] INHERIT
Дата
Msg-id 202503251605.e6yngze7aeim@alvherre.pgsql
обсуждение исходный текст
Ответ на simplifying grammar for ALTER CONSTRAINT .. SET [NO] INHERIT  (Álvaro Herrera <alvherre@alvh.no-ip.org>)
Список 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)

Вложения

В списке pgsql-hackers по дате отправления: