Re: COPY binary

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Nathaniel <naptrel(at)yahoo(dot)co(dot)uk>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: COPY binary
Date: 2009-09-17 16:25:07
Message-ID: 20169.1253204707@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Nathaniel <naptrel(at)yahoo(dot)co(dot)uk> writes:
> When using PQputCopyData and PQgetCopyData to send and receive binary data from postgres, would you include/expect headers and trailers (as well as the tuples themselves) as you would in a binary file named 'file_name' if you were executing the SQL "COPY BINARY table_name FROM/TO 'file_name'"?

Yes.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Adam Rich 2009-09-17 16:32:20 Re: Multiple counts on criteria - Approach to a problem
Previous Message Neil Saunders 2009-09-17 16:22:35 Multiple counts on criteria - Approach to a problem