Re: Which hook to use when overriding utility commands (COPY ...)

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: Which hook to use when overriding utility commands (COPY ...)
Дата
Msg-id YjXQIiumMU0aPdT8@paquier.xyz
обсуждение исходный текст
Ответ на Which hook to use when overriding utility commands (COPY ...)  (Hannu Krosing <hannuk@google.com>)
Список pgsql-hackers
On Sat, Mar 19, 2022 at 12:28:46PM +0100, Hannu Krosing wrote:
> Which hook should I use when overriding the COPY command in an extension?

CopyStmt goes through ProcessUtility(), so you can use the hook called
ProcessUtility_hook to override what you want.
--
Michael

Вложения

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

Предыдущее
От: Hannu Krosing
Дата:
Сообщение: Which hook to use when overriding utility commands (COPY ...)
Следующее
От: Dong Wook Lee
Дата:
Сообщение: Re: Add pg_freespacemap extension sql test