Re: Check constraints on partition parents only?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Check constraints on partition parents only?
Дата
Msg-id 7330.1311861043@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Check constraints on partition parents only?  (Nikhil Sontakke <nikhil.sontakke@enterprisedb.com>)
Список pgsql-hackers
Nikhil Sontakke <nikhil.sontakke@enterprisedb.com> writes:
> What we need is to persist information of a particular constraint to be as
> specified - ONLY for this table. We could do that by adding a new column in
> pg_constraint like 'connoinh' or something, but I guess we would prefer not
> to get into the initdb business.

Uh, why not?  I trust you're not imagining this would get back-patched.

> Alternatively we could bring about the same
> by using a combination of conislocal and coninhcnt.

Ugh.  New column, please.  If you're wondering why, see the flak Robert
has been taking lately for replacing pg_class.relistemp.  Random changes
in the semantics of existing columns are trouble.
        regards, tom lane


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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: error: could not find pg_class tuple for index 2662
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Check constraints on partition parents only?