pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Brett Schwarz <brett_schwarz@yahoo.com>
To: David Rysdam <drysdam@ll.mit.edu>
To: pgsql-interfaces@postgresql.org
Subject: Re: Not clear on what PQgetResult does
Date: Thu, 17 Nov 2005 12:14:58 -0800 (PST)
Message-ID: <20051117201458.4244.qmail@web34601.mail.mud.yahoo.com> (raw)
In-Reply-To: <437CD359.5080908@ll.mit.edu>


> 
> Let's say I have a table with 1,000,000 rows and I
> PQsendQuery() a query 
> to get them all.  When I call PQgetResult() the
> first time, will it 
> block until all 1,000,000 are ready, or will it send
> back everything 
> that's ready at the time I call it?
> 
> If the latter, is pgtcl's pg_getresult supposed to
> work the same way?
> 

pg_getresult really is just a wrapper around
PQgetResult, so it should behave the same.

See the README.async in pgtcl if you want more info on
async with pgtcl.

    --brett


--brett


	
		
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com



view thread (11+ messages)  latest in thread

Message-ID: <20051117201458.4244.qmail@web34601.mail.mud.yahoo.com>
Permalink:  ../20051117201458.4244.qmail@web34601.mail.mud.yahoo.com/
Also on:    postgresql.org/message-id/20051117201458.4244.qmail@web34601.mail.mud.yahoo.com

 · 

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: brett_schwarz@yahoo.com, drysdam@ll.mit.edu
  Subject: Re: Not clear on what PQgetResult does
  In-Reply-To: <20051117201458.4244.qmail@web34601.mail.mud.yahoo.com>

* 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