Re: pg17 issues with not-null contraints

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: pg17 issues with not-null contraints
Дата
Msg-id 202404161811.rv6b7vnmt3en@alvherre.pgsql
обсуждение исходный текст
Ответ на Re: pg17 issues with not-null contraints  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
Ответы Re: pg17 issues with not-null contraints  (Justin Pryzby <pryzby@telsasoft.com>)
Re: pg17 issues with not-null contraints  (Justin Pryzby <pryzby@telsasoft.com>)
Список pgsql-hackers
On 2024-Apr-15, Alvaro Herrera wrote:

> - Fourth thought: we do as in the third thought, except we also allow
> DROP CONSTRAINT a constraint that's marked "local, inherited" to be
> simply an inherited constraint (remove its "local" marker).

Here is an initial implementation of what I was thinking.  Can you
please give it a try and see if it fixes this problem?  At least in my
run of your original test case, it seems to work as expected.

This is still missing some cleanup and additional tests, of course.
Speaking of which, I wonder if I should modify pg16's tests so that they
leave behind tables set up in this way, to immortalize pg_upgrade
testing.

-- 
Álvaro Herrera               48°01'N 7°57'E  —  https://www.EnterpriseDB.com/

Вложения

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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: pg_combinebackup fails on file named INCREMENTAL.*
Следующее
От: Andres Freund
Дата:
Сообщение: Re: documentation structure