Re: Incremental results from libpq

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Incremental results from libpq
Дата
Msg-id 200511161034.58561.peter_e@gmx.net
обсуждение исходный текст
Ответ на Re: Incremental results from libpq  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Incremental results from libpq
Список 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 по дате отправления:

Предыдущее
От: "Goulet, Dick"
Дата:
Сообщение: Re: Incremental results from libpq
Следующее
От: "Magnus Hagander"
Дата:
Сообщение: Re: Incremental results from libpq