Using new copy libpq functions on a v2 protocol backend
Using new copy libpq functions on a v2 protocol backend
От:
Christopher 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
Re: Using new copy libpq functions on a v2 protocol backend
От:
Christopher Kings-Lynne <chriskl@familyhealth.com.au>
Дата:
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
Re: Using new copy libpq functions on a v2 protocol backend
От:
Christopher Kings-Lynne <chriskl@familyhealth.com.au>
Дата:
>> 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
Re: Using new copy libpq functions on a v2 protocol backend
От:
Bruce Momjian <pgman@candle.pha.pa.us>
Дата:
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