PQputline in BINARY mode?

From: pacquet(at)newsguy(dot)com
To: pgsql-interfaces(at)postgresql(dot)org
Subject: PQputline in BINARY mode?
Date: 2002-08-13 21:41:36
Message-ID: 200208132141.OAA71833@newsguy.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

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

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message Wei Weng 2002-08-13 21:51:10 concurrent connections is worse than serialization?
Previous Message Michael Meskes 2002-08-13 18:10:56 Re: ECGP - varchar in struct?