Re: Error bundling script file with extension when event triggercommands are used

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: Error bundling script file with extension when event triggercommands are used
Дата
Msg-id CAB7nPqSuoDYUazx2+Y57U7C3nM_iHRfVJJN0ooEU7weSjb5rmw@mail.gmail.com
обсуждение исходный текст
Ответ на Error bundling script file with extension when event trigger commandsare used  (sanyam jain <sanyamjain22@live.in>)
Список pgsql-hackers
On Wed, Dec 6, 2017 at 3:36 PM, sanyam jain <sanyamjain22@live.in> wrote:
> I couldn't understand much from the above thread but like to solve this
> problem.

Not sure that people are much motivated in solving this problem either
as the use-case is very narrow. Based on my memories of the moment
where I looked at this problem, I was thinking that you would need
additional catalog functions able to switch a session-level flag which
disables completely event triggers to happen during the execution of
those commands... So it would mean that such a fix cannot be
back-patched. If you would like to design or implement a patch, of
course feel free! One hacky way to solve this problem would be to
create the event triggers out of the extension creation, meaning that
the object dependencies would need to be tracked by yourself.
-- 
Michael


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

Предыдущее
От: Amit Kapila
Дата:
Сообщение: Re: [HACKERS] parallel.c oblivion of worker-startup failures
Следующее
От: David Rowley
Дата:
Сообщение: Re: [HACKERS] Runtime Partition Pruning