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

2022-03-19 Thread Michael Paquier
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 signature.asc Description:

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

2022-03-19 Thread Hannu Krosing
Hi Pgsql-Hackers Which hook should I use when overriding the COPY command in an extension? I am working on adding new functionalities to COPY (compression, index management, various other transports in addition to stdin and file, other data formats, etc...) and while the aim is to contribute