Re: COPY table FROM STDIN via SPI

Поиск
Список
Период
Сортировка
От James Sewell
Тема Re: COPY table FROM STDIN via SPI
Дата
Msg-id CAJe2zgPPs-6mHDaGG29YEkQsQ8mkokjptOLpqFKoFwfmxukD6Q@mail.gmail.com
обсуждение исходный текст
Ответ на Re: COPY table FROM STDIN via SPI  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: COPY table FROM STDIN via SPI  (Joe Conway <mail@joeconway.com>)
Список pgsql-hackers

No.  It'd be a wire protocol break, and even if it weren't I would not
expect many clients to be able to deal with it.  They're in the middle
of a query cycle (for the SELECT or CALL that got you into SPI), and
suddenly the backend asks for COPY data?  What are they supposed to
send, or where are they supposed to put it for the COPY-out case?
There's just not provision for nesting protocol operations like that.

What about running a COPY directly from C - is that possible? 

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

Предыдущее
От: David Rowley
Дата:
Сообщение: Re: unrecognized node type while displaying a Path due to dangling pointer
Следующее
От: Andy Fan
Дата:
Сообщение: Re: The same 2PC data maybe recovered twice