Re: COPY table FROM STDIN via SPI

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: COPY table FROM STDIN via SPI
Дата
Msg-id 2478511.1689072418@sss.pgh.pa.us
обсуждение исходный текст
Ответ на COPY table FROM STDIN via SPI  (James Sewell <james.sewell@gmail.com>)
Ответы Re: COPY table FROM STDIN via SPI  (James Sewell <james.sewell@gmail.com>)
Список pgsql-hackers
James Sewell <james.sewell@gmail.com> writes:
> Is $subject possible?

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.

            regards, tom lane



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

Предыдущее
От: James Sewell
Дата:
Сообщение: COPY table FROM STDIN via SPI
Следующее
От: Tom Lane
Дата:
Сообщение: Re: unrecognized node type while displaying a Path due to dangling pointer