Using new copy libpq functions on a v2 protocol backend

Lists: pgsql-hackers
From: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
To: Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Using new copy libpq functions on a v2 protocol backend
Date: 2005-03-22 03:37:58
Message-ID: 423F9316.4070608@familyhealth.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

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


From: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
To: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
Cc: Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Using new copy libpq functions on a v2 protocol backend
Date: 2005-03-23 01:32:47
Message-ID: 4240C73F.4090203@familyhealth.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Hey guys,

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

Chris

Christopher Kings-Lynne wrote:
> 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


From: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
To: Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Using new copy libpq functions on a v2 protocol backend
Date: 2005-03-23 02:36:19
Message-ID: 4240D623.60508@familyhealth.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

>> 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


From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
Cc: Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Using new copy libpq functions on a v2 protocol backend
Date: 2005-03-23 02:37:19
Message-ID: 200503230237.j2N2bJ928779@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

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(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073