| От | Tom Lane |
|---|---|
| Тема | Re: Check constraints on partition parents only? |
| Дата | |
| Msg-id | 23800.1311946621@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Check constraints on partition parents only? (Nikhil Sontakke <nikkhils@gmail.com>) |
| Ответы |
Re: Check constraints on partition parents only?
|
| Список | pgsql-hackers |
Nikhil Sontakke <nikkhils@gmail.com> writes:
>> (Also, don't forget you need to hack pg_dump, too.)
> Yeah, I have already hacked it a bit. This constraint now needs to be
> spit out later as an ALTER command with ONLY attached to it
> appropriately. Earlier all CHECK constraints were generally emitted as
> part of the table definition itself.
IIRC, there's already support for splitting out a constraint that way,
in order to deal with circular dependencies. You just need to treat
this as an additional reason for splitting.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера