Re: Rename of triggers for partitioned tables

Поиск
Список
Период
Сортировка
От Arne Roland
Тема Re: Rename of triggers for partitioned tables
Дата
Msg-id 4e1eeffb41ac46879d45642fda0d4760@index.de
обсуждение исходный текст
Ответ на Rename of triggers for partitioned tables  (Arne Roland <A.Roland@index.de>)
Ответы Re: Rename of triggers for partitioned tables
Список pgsql-hackers

I'm too unhappy with the interface change, so please view attached patch instead.


Regards

Arne


From: Arne Roland <A.Roland@index.de>
Sent: Friday, November 27, 2020 12:28:31 AM
To: Pg Hackers
Subject: Rename of triggers for partitioned tables
 

Hello,


I got too annoyed at building queries for gexec all the time. So wrote a patch to fix the issue that the rename of partitioned trigger doesn't affect children.


In case there isn't a dependent trigger with the same name on the child the function errors out. If the user touched the trigger of the child, it's not a sensitive idea to mess with it.


I'm not happy with the interface change in trigger.h. Yet I don't like the idea of creating another layer of indirection either.


Even though it's a small patch, there might be other things I'm missing, so I'd appreciate feedback.


Regards

Arne

Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tomas Vondra
Дата:
Сообщение: Re: [PoC] Non-volatile WAL buffer
Следующее
От: David Rowley
Дата:
Сообщение: Re: Hybrid Hash/Nested Loop joins and caching results from subplans