Re: patch for check constraints using multiple inheritance
В списке pgsql-hackers по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: patch for check constraints using multiple inheritance |
| Дата | |
| Msg-id | 19676.1280504350@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: patch for check constraints using multiple inheritance (Yeb Havinga <yebhavinga@gmail.com>) |
| Ответы |
Re: patch for check constraints using multiple inheritance
|
| Список | pgsql-hackers |
Yeb Havinga <yebhavinga@gmail.com> writes:
> Regard the following lattice (direction from top to bottom):
> 1
> |\
> 2 3
> \|\
> 4 5
> \|
> 6
> When adding a constraint to 1, the proper coninhcount for that
> constraint on relation 6 is 2. But the code currently counts to 3, since
> 6 is reached by paths 1-2-4-5, 1-3-4-6, 1-3-5-6.
Mph. I'm not sure that 3 is wrong. You have to consider what happens
during a DROP CONSTRAINT, which as far as I saw this patch didn't
address.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера