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

Поиск
Список
Период
Сортировка
От Nathan Bossart
Тема Re: Adding Support for Copy callback functionality on COPY TO api
Дата
Msg-id 20221008173741.GB882834@nathanxps13
обсуждение исходный текст
Ответ на Re: Adding Support for Copy callback functionality on COPY TO api  (Michael Paquier <michael@paquier.xyz>)
Ответы Re: Adding Support for Copy callback functionality on COPY TO api  (Nathan Bossart <nathandbossart@gmail.com>)
Список pgsql-hackers
On Sat, Oct 08, 2022 at 02:11:38PM +0900, Michael Paquier wrote:
> 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.

Yeah, that makes more sense.  It actually simplifies things a bit, too.

-- 
Nathan Bossart
Amazon Web Services: https://aws.amazon.com

Вложения

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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: Non-robustness in pmsignal.c
Следующее
От: Andres Freund
Дата:
Сообщение: Re: START_REPLICATION SLOT causing a crash in an assert build