| От | Tom Lane |
|---|---|
| Тема | Re: Outstanding patches |
| Дата | |
| Msg-id | 20814.989421690@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Outstanding patches (Philip Warner <pjw@rhyme.com.au>) |
| Список | pgsql-hackers |
Philip Warner <pjw@rhyme.com.au> writes:
> ie. The CHECK constraints inherit only at the time of table creation. I
> think this is a bug in ALTER TABLE for CHECK constraints.
More like an "unimplemented feature" ;-).
After thinking for a moment, I believe the only real gotcha that could
arise here is to make sure that the constraint is adjusted for the
possibly-different column numbers in each child table. There is code
available to make this happen, or it might happen for free if you can
postpone parse analysis of the raw constraint tree until you are looking
at each child table. Just something to keep in mind and test while
you're doing it ...
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера