Using new copy libpq functions on a v2 protocol backend

Started by Christopher Kings-Lynnealmost 21 years ago4 messages
#1Christopher Kings-Lynne
chriskl@familyhealth.com.au

Hi,

If I use PQgetCopyData, PQputCopyData and PQputCopyEnd against a v2
protocol backend, will it work?

I see no mention of it in the docs...

Chris

#2Christopher Kings-Lynne
chriskl@familyhealth.com.au
In reply to: Christopher Kings-Lynne (#1)
Re: Using new copy libpq functions on a v2 protocol backend

Hey guys,

I really need answer to this one, for the PHP code I just committed :P

Chris

Christopher Kings-Lynne wrote:

Show quoted text

Hi,

If I use PQgetCopyData, PQputCopyData and PQputCopyEnd against a v2
protocol backend, will it work?

I see no mention of it in the docs...

Chris

---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
joining column's datatypes do not match

#3Christopher Kings-Lynne
chriskl@familyhealth.com.au
In reply to: Christopher Kings-Lynne (#2)
Re: Using new copy libpq functions on a v2 protocol backend

If I use PQgetCopyData, PQputCopyData and PQputCopyEnd against a v2
protocol backend, will it work?

I see no mention of it in the docs...

OK, my testing proves that they work just fine against an older server,
so no problem.

Chris

#4Bruce Momjian
pgman@candle.pha.pa.us
In reply to: Christopher Kings-Lynne (#3)
Re: Using new copy libpq functions on a v2 protocol backend

Christopher Kings-Lynne wrote:

If I use PQgetCopyData, PQputCopyData and PQputCopyEnd against a v2
protocol backend, will it work?

I see no mention of it in the docs...

OK, my testing proves that they work just fine against an older server,
so no problem.

OK, what is the TODO?

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073