From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Alvaro Herrera <alvherre(at)commandprompt(dot)com> |
Cc: | "Goulet, Dick" <DGoulet(at)vicr(dot)com>, Frank van Vugt <ftm(dot)van(dot)vugt(at)foxi(dot)nl>, Greg Stark <gsstark(at)mit(dot)edu>, pgsql-interfaces(at)postgresql(dot)org |
Subject: | Re: Incremental results from libpq |
Date: | 2005-11-13 15:46:35 |
Message-ID: | 4304.1131896795@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-interfaces |
Alvaro Herrera <alvherre(at)commandprompt(dot)com> writes:
> So, what happens with the 1/x query Tom mentioned? How does Oracle
> handles that situation? Notice there's no special clause in the query
> itself, so if it's extracted and returned, there's no way for the server
> to know that there's a problem laying ahead.
>> Also Oracle supports cursors which allow you to pop one or more
>> rows off of the result set at a time. The way Postgresql returns data
>> all at once is different.
> Postgres supports cursors too. The Qt guys, and everyone else, could be
> using it to get incremental results right now, no libpq mods necessary.
Note that in this context, it's really pretty misleading to make any
blanket assertions about "Postgres does this" or "Postgres does that".
The behavior is partially determined by the client-side code, and
might well differ depending on which client library you are using,
as well as how you are using it.
For all I know, similar remarks might apply to Oracle. Do they support
more than one application-side API?
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Greg Stark | 2005-11-13 16:13:48 | Re: Incremental results from libpq |
Previous Message | Alvaro Herrera | 2005-11-13 15:24:01 | Re: Incremental results from libpq |