Skip site navigation (1) Skip section navigation (2)

Re: Not clear on what PQgetResult does

From: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
To: David Rysdam <drysdam(at)ll(dot)mit(dot)edu>
Cc: pgsql-interfaces(at)postgresql(dot)org
Subject: Re: Not clear on what PQgetResult does
Date: 2005-11-17 20:40:34
Message-ID: 437CEAC2.6050001@commandprompt.com (view raw or flat)
Thread:
Lists: pgsql-interfaces
>
>>
>> It isn't.  You can use it in an asynchronous client, but the way you do
>> that is by not calling it until PQisBusy says you can (which means the
>> whole result has arrived, and you're just calling PQgetResult to get
>> hold of it).
>>
> So there's no way to have libpq return partial results before they are 
> all ready?
>
> If I may, I would like to express some degree of incredulity.  Even 
> the version of Sybase I'm using does this right and it's from 1997!
I am sure we would welcome a patch ;))

Sincerely,

Joshua D. Drake


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


In response to

Responses

pgsql-interfaces by date

Next:From: David RysdamDate: 2005-11-17 20:42:54
Subject: Re: Not clear on what PQgetResult does
Previous:From: Brett SchwarzDate: 2005-11-17 20:14:58
Subject: Re: Not clear on what PQgetResult does

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group