Re: COPY binary - Mailing list pgsql-general

From Tom Lane
Subject Re: COPY binary
Date
Msg-id 20169.1253204707@sss.pgh.pa.us
Whole thread Raw
In response to COPY binary  (Nathaniel <naptrel@yahoo.co.uk>)
List pgsql-general
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

pgsql-general by date:

Previous
From: Neil Saunders
Date:
Subject: Multiple counts on criteria - Approach to a problem
Next
From: Ben Chobot
Date:
Subject: Re: Multiple counts on criteria - Approach to a problem