Re: Incremental results from libpq - Mailing list pgsql-interfaces

From Peter Eisentraut
Subject Re: Incremental results from libpq
Date
Msg-id 200511161034.58561.peter_e@gmx.net
Whole thread Raw
In response to Re: Incremental results from libpq  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Incremental results from libpq  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-interfaces
Am Mittwoch, 9. November 2005 22:22 schrieb Tom Lane:
> The main reason why libpq does what it does is that this way we do not
> have to expose in the API the notion of a command that fails part way
> through.

I'm at LinuxWorld Frankfurt and one of the Trolltech guys came over to talk to 
me about this.  He opined that it would be beneficial for their purpose (in 
certain cases) if the server would first compute the entire result set and 
keep it in the server memory (thus eliminating potential errors of the 1/x 
kind) and then ship it to the client in a way that the client would be able 
to fetch it piecewise.  Then, the client application could build the display 
incrementally while the rest of the result set travels over the (slow) link.  
Does that make sense?


pgsql-interfaces by date:

Previous
From: "Goulet, Dick"
Date:
Subject: Re: Incremental results from libpq
Next
From: "Magnus Hagander"
Date:
Subject: Re: Incremental results from libpq