X-Original-To: pgsql-interfaces-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 648ACDB9B1 for ; Thu, 17 Nov 2005 16:43:06 -0400 (AST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 19540-02 for ; Thu, 17 Nov 2005 20:43:06 +0000 (GMT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from ll.mit.edu (LLMAIL.LL.MIT.EDU [129.55.12.40]) by svr1.postgresql.org (Postfix) with ESMTP id A81B7DB9B5 for ; Thu, 17 Nov 2005 16:43:03 -0400 (AST) Received: (from smtp@localhost) by ll.mit.edu (8.12.10/8.8.8) id jAHKh4Aj008865 for ; Thu, 17 Nov 2005 15:43:04 -0500 (EST) Received: from UNKNOWN( ), claiming to be "[155.34.198.117]" via SMTP by llmail, id smtpdAAAzSaa3q; Thu Nov 17 15:42:54 2005 Message-ID: <437CEB4E.5040402@ll.mit.edu> Date: Thu, 17 Nov 2005 15:42:54 -0500 From: David Rysdam User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.11) Gecko/20050729 X-Accept-Language: en-us, en MIME-Version: 1.0 CC: pgsql-interfaces@postgresql.org Subject: Re: Not clear on what PQgetResult does References: <437CD359.5080908@ll.mit.edu> <451.1132256298@sss.pgh.pa.us> <437CE1B0.3040001@ll.mit.edu> <437CEAC2.6050001@commandprompt.com> In-Reply-To: <437CEAC2.6050001@commandprompt.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.14 required=5 tests=[AWL=-0.049, MISSING_HEADERS=0.189] X-Spam-Score: 0.14 X-Spam-Level: X-Archive-Number: 200511/44 X-Sequence-Number: 5840 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. But I like everything else about it, so I could perhaps give a patch a whirl. Or are there underlying server reasons why this won't work?