From: | "Merlin Moncure" <mmoncure(at)gmail(dot)com> |
---|---|
To: | "Alban Hertroys" <alban(at)magproductions(dot)nl> |
Cc: | neuhauser(at)sigpipe(dot)cz, "PgSQL General" <pgsql-general(at)postgresql(dot)org>, "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com> |
Subject: | Re: more anti-postgresql FUD |
Date: | 2006-10-16 13:31:58 |
Message-ID: | b42b73150610160631g159a3cf7td98fd9bf44e2159@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-hackers |
On 10/16/06, Alban Hertroys <alban(at)magproductions(dot)nl> wrote:
> Merlin Moncure wrote:
> > for server side browsing use cursors or a hybrid pl/pgqsl loop. for
> > client side, browse fetching relative to the last key:
> >
> > select * from foo where p > p1 order by p limit k;
>
> This does require some way for the client to keep a single transaction
> open. If this kind of query is performed by a web application (as is
> often the case), the "client" is the server side web script engine, and
> not all of those beasts are capable of keeping a transaction open across
> pages (PHP comes to mind).
> This combined with expensive (complex) queries is regularly a pain.
Server-side browsing requires transactions so is unsuitable for
certain types of web enviroments. However client-side following as I
described as not...it is the right and proper way to solve this
problem . It's also why the sql row-wise comparion is so important,
because it provides an easy way to do this with table with mutiple
part keys.
merlin
From | Date | Subject | |
---|---|---|---|
Next Message | DXScale452 | 2006-10-16 13:54:31 | ERROR: current transaction is aborted, commands ignored until end of transaction block |
Previous Message | Harald Armin Massa | 2006-10-16 11:08:42 | Re: Fast backup/restore |
From | Date | Subject | |
---|---|---|---|
Next Message | Marko Kreen | 2006-10-16 13:35:33 | Re: Getting the type Oid in a CREATE TYPE output function |
Previous Message | Marko Kreen | 2006-10-16 13:28:54 | Re: Threaded python on FreeBSD |