Search Postgresql Archives

Re: bulk inserts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Sep 28, 2009 at 04:35:53PM -0500, Dave Huber wrote:
> One assumption I am operating under right now is
> that the format of the binary file is the same as the buffer in
> PQputCopyData, including the header.  If I am wrong, could someone
> please let me know? Thanks,

I've always used ASCII representations of the data; no need to worry
about formats then.  Not sure what sort of performance considerations
you have, but it's certainly less of a worry for me.  I'm reasonably
sure the binary format changes more often than you'd like, maybe
something like:

  http://libpqtypes.esilo.com/

would help.  I can't see anything about COPY support, but it should help
with other things.

-- 
  Sam  http://samason.me.uk/

-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux