Re: persevere NO INHERIT when Dump not-null constraints on inherited columns

Поиск
Список
Период
Сортировка
От Álvaro Herrera
Тема Re: persevere NO INHERIT when Dump not-null constraints on inherited columns
Дата
Msg-id 202602251745.ux2ihjfq66s5@alvherre.pgsql
обсуждение исходный текст
Ответ на persevere NO INHERIT when Dump not-null constraints on inherited columns  (jian he <jian.universality@gmail.com>)
Ответы Re: persevere NO INHERIT when Dump not-null constraints on inherited columns
Список pgsql-hackers
On 2026-Feb-25, jian he wrote:

> create table p1(f1 int);
> create table p1_c1() inherits(p1);
> alter table p1_c1 add constraint p1c1_a_nn not null f1 no inherit;

Ugh, you're right, this is broken and your patch fixes it.

I'm gonna write a quick test case for this and push as soon as I'm able.

-- 
Álvaro Herrera               48°01'N 7°57'E  —  https://www.EnterpriseDB.com/
"Hay quien adquiere la mala costumbre de ser infeliz" (M. A. Evans)



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