pgsql: Fix another bug in merging of inherited CHECK constraints.
В списке pgsql-committers по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | pgsql: Fix another bug in merging of inherited CHECK constraints. |
| Дата | |
| Msg-id | E1bunC7-0007op-1u@gemulon.postgresql.org обсуждение |
| Список | pgsql-committers |
Fix another bug in merging of inherited CHECK constraints. It's not good for an inherited child constraint to be marked connoinherit; that would result in the constraint not propagating to grandchild tables, if any are created later. The code mostly prevented this from happening but there was one case that was missed. This is somewhat related to commit e55a946a8, which also tightened checks on constraint merging. Hence, back-patch to 9.2 like that one. This isn't so much because there's a concrete feature-related reason to stop there, as to avoid having more distinct behaviors than we have to in this area. Amit Langote Discussion: <b28ee774-7009-313d-dd55-5bdd81242c41@lab.ntt.co.jp> Branch ------ REL9_6_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/f9e8b05e5f1c5eeaa963a9550ba6a592bdcb9a97 Modified Files -------------- src/backend/catalog/heap.c | 11 +++++++++++ src/test/regress/expected/inherit.out | 3 +++ src/test/regress/sql/inherit.sql | 3 +++ 3 files changed, 17 insertions(+)
В списке pgsql-committers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера