Unix Technical Forum

Using new copy libpq functions on a v2 protocol backend

This is a discussion on Using new copy libpq functions on a v2 protocol backend within the pgsql Hackers forums, part of the PostgreSQL category; --> Hi, If I use PQgetCopyData, PQputCopyData and PQputCopyEnd against a v2 protocol backend, will it work? I see no ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Hackers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-11-2008, 04:10 AM
Christopher Kings-Lynne
 
Posts: n/a
Default 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

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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-11-2008, 04:10 AM
Christopher Kings-Lynne
 
Posts: n/a
Default 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:
> 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


---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-11-2008, 04:10 AM
Christopher Kings-Lynne
 
Posts: n/a
Default 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

---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to majordomo@postgresql.org)

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 04-11-2008, 04:10 AM
Bruce Momjian
 
Posts: n/a
Default 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

---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to majordomo@postgresql.org)

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 03:29 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com