Thread: Using new copy libpq functions on a v2 protocol backend
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
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
>> 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
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, Pennsylvania19073