Adding Support for Copy callback functionality on COPY TO api

Поиск
Список
Период
Сортировка
От Sanaba, Bilva
Тема Adding Support for Copy callback functionality on COPY TO api
Дата
Msg-id 253C21D1-FCEB-41D9-A2AF-E6517015B7D7@amazon.com
обсуждение исходный текст
Ответы Re: Adding Support for Copy callback functionality on COPY TO api  (Soumyadeep Chakraborty <soumyadeep2007@gmail.com>)
Re: Adding Support for Copy callback functionality on COPY TO api  ("Andrey V. Lepikhov" <a.lepikhov@postgrespro.ru>)
Список pgsql-hackers

Hi hackers,

 

Currently, the COPY TO api does not support callback functions, while the COPY FROM api does. The COPY TO code does, however, include placeholders for supporting callbacks in the future. 

 

Rounding out the support of callback functions to both could be very beneficial for extension development. In particular, supporting callbacks for COPY TO will allow developers to utilize the preexisting command in order to create tools that give users more support for moving data for storage, backup, analytics, etc. 

 

We are aiming to get the support in core PostgreSQL and add COPY TO callback support in the next commitfest.  The attached patch contains a change to COPY TO api to support callbacks. 

 

Best,

Bilva

 

Вложения

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Remove Deprecated Exclusive Backup Mode
Следующее
От: Joe Conway
Дата:
Сообщение: Re: pg_read_file() with virtual files returns empty string