Обсуждение: COPY binary

Поиск
Список
Период
Сортировка

COPY binary

От
Nathaniel
Дата:
Hello,

When using PQputCopyData and PQgetCopyData to send and receive binary data from postgres, would you include/expect
headersand trailers (as well as the tuples themselves) as you would in a binary file named 'file_name' if you were
executingthe SQL "COPY BINARY table_name FROM/TO 'file_name'"? 

Nathaniel





Re: COPY binary

От
Tom Lane
Дата:
Nathaniel <naptrel@yahoo.co.uk> writes:
> When using PQputCopyData and PQgetCopyData to send and receive binary data from postgres, would you include/expect
headersand trailers (as well as the tuples themselves) as you would in a binary file named 'file_name' if you were
executingthe SQL "COPY BINARY table_name FROM/TO 'file_name'"? 

Yes.

            regards, tom lane