| От | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера