pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: pacquet@newsguy.com
To: pgsql-interfaces@postgresql.org
Subject: PQputline in BINARY mode?
Date: Tue, 13 Aug 2002 14:41:36 -0700 (PDT)
Message-ID: <200208132141.OAA71833@newsguy.com> (raw)

OK, I've tested both a

COPY BINARY <table> FROM <file>

which was very fast, and now I've also done:


PQputline(conn, <test ascii string>)


the question is, can I combine both techniques, and use a programmatic
interface to copy binary information?  We have an data collection application
which needs to insert a huge amount of (binary) information very quickly, so
I'm interested in squeezing out every last CPU cycle.  (any other tips you
have will also be appreciated).  Thanks




view thread (4+ messages)  latest in thread

Message-ID: <200208132141.OAA71833@newsguy.com>
Permalink:  ../200208132141.OAA71833@newsguy.com/
Also on:    postgresql.org/message-id/200208132141.OAA71833@newsguy.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: pacquet@newsguy.com
  Subject: Re: PQputline in BINARY mode?
  In-Reply-To: <200208132141.OAA71833@newsguy.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox