pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <pgman@candle.pha.pa.us>
To: David Rysdam <drysdam@ll.mit.edu>
Cc: pgsql-interfaces@postgresql.org
Subject: Re: Not clear on what PQgetResult does
Date: Tue, 22 Nov 2005 17:32:37 -0500 (EST)
Message-ID: <200511222232.jAMMWbO25551@candle.pha.pa.us> (raw)
In-Reply-To: <437CEB4E.5040402@ll.mit.edu>

David Rysdam wrote:
> Joshua D. Drake wrote:
> 
> >>
> >>>
> >>> 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 ;))
> 
> To be honest, this is almost enough to drive me away from PG.

I think you should return to Sybase as soon as you can!  :-)

Seriously, look at the current TODO list and the issues involved.

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



view thread (11+ messages)  latest in thread

Message-ID: <200511222232.jAMMWbO25551@candle.pha.pa.us>
Permalink:  ../200511222232.jAMMWbO25551@candle.pha.pa.us/
Also on:    postgresql.org/message-id/200511222232.jAMMWbO25551@candle.pha.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: pgman@candle.pha.pa.us, drysdam@ll.mit.edu
  Subject: Re: Not clear on what PQgetResult does
  In-Reply-To: <200511222232.jAMMWbO25551@candle.pha.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox