Re: Adding Support for Copy callback functionality on COPY TO api

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: Adding Support for Copy callback functionality on COPY TO api
Дата
Msg-id Y0EGighrcVgNnp30@paquier.xyz
обсуждение исходный текст
Ответ на Re: Adding Support for Copy callback functionality on COPY TO api  (Nathan Bossart <nathandbossart@gmail.com>)
Ответы Re: Adding Support for Copy callback functionality on COPY TO api  (Nathan Bossart <nathandbossart@gmail.com>)
Список pgsql-hackers
On Fri, Oct 07, 2022 at 02:48:24PM -0700, Nathan Bossart wrote:
> Here is an attempt at adding such a test module.

Using an ereport(NOTICE) to show the data reported in the callback is
fine by me.  How about making the module a bit more modular, by
passing as argument a regclass and building a list of arguments with
it?  You may want to hold the ShareAccessLock on the relation until
the end of the transaction in this example.
--
Michael

Вложения

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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: use has_privs_of_role() for pg_hba.conf
Следующее
От: Joe Conway
Дата:
Сообщение: Re: use has_privs_of_role() for pg_hba.conf