Re: [HACKERS] Processing database query-results piecemeal

2008-06-30 Thread Abhijit Menon-Sen
At 2008-06-30 13:17:42 +0200, [EMAIL PROTECTED] wrote: > > It seems that the most efficient way to communicate with the > DB would be through PQexecParams(), which avoids the whole > bytea-encoding issues. Yes. > Does it become $10 or ${10} or $(10) or is it simply not possible > te reference

[HACKERS] Processing database query-results piecemeal

2008-06-30 Thread Stephen R. van den Berg
I'm looking at the most efficient and lean way to interface with the DB in a least-overhead scenario to process large(r) amounts of binary data. For simplicity, I want to avoid using the Large-Object facility. It seems that the most efficient way to communicate with the DB would be through PQexec