| От | Stephen Frost |
|---|---|
| Тема | Re: RETURNING syntax for COPY |
| Дата | |
| Msg-id | 20130508183026.GG4361@tamriel.snowman.net обсуждение исходный текст |
| Ответ на | Re: RETURNING syntax for COPY (Ryan Kelly <rpkelly22@gmail.com>) |
| Список | pgsql-hackers |
* Ryan Kelly (rpkelly22@gmail.com) wrote:
> COPY ... RETURNING would certainly be useful to apply additional
> transformations to the data before finally sending it to its ultimate
> destination.
If we really think that COPY ... RETURNING is only going to be used in a
CTE or similar, then we could always only support that and forgo any
changes to the FE/BE protocol to support it. Or, at least, take the
simplest approach to supporting it which would involve cacheing the data
entirely before sending it back to the client (isn't that what we do on
a big INSERT ... VALUES ... RETURNING anyway? people can transfer in
blocks if they want to with INSERT .. VALUES or COPY .. RETURNING).
Thanks,
Stephen
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера