Re: A row-level trigger on a partitioned table is not created on asub-partition created later
Вложения
В списке pgsql-bugs по дате отправления:
| От | Alvaro Herrera |
|---|---|
| Тема | Re: A row-level trigger on a partitioned table is not created on asub-partition created later |
| Дата | |
| Msg-id | 20191227221826.GA2547@alvherre.pgsql обсуждение исходный текст |
| Ответ на | Re: A row-level trigger on a partitioned table is not created on asub-partition created later (Alvaro Herrera <alvherre@2ndquadrant.com>) |
| Ответы |
Re: A row-level trigger on a partitioned table is not created on asub-partition created later
|
| Список | pgsql-bugs |
On 2019-Dec-27, Alvaro Herrera wrote: > Working on getting your fix pushed now. Ran out of time for today, but I added this test that reproduces the issue -- fails without your patch, and works with it. One thing I just realized is that in next minors' release notes we should publish a recipe to fix catalogs for existing databases, unless we go for a fix that doesn't require changing the catalogs -- I don't know what that would be, though, but maybe it would not be totally insane to clone even internal triggers in the cases that matter. (I wonder if a better solution for the master branch would involve a new pg_trigger column that indicates the parent trigger for a cloned trigger. That would avoid pg_dump's new subquery. Also: would it be better to use pg_partition_ancestors instead of the sub-subquery? ... though that doesn't work in pg11 ...) -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера