Re: postgres session termination

From: Alban Hertroys <alban(at)magproductions(dot)nl>
To: John DeSoi <desoi(at)pgedit(dot)com>
Cc: Rick Schumeyer <rschumeyer(at)ieee(dot)org>, 'PgSql General' <pgsql-general(at)postgresql(dot)org>
Subject: Re: postgres session termination
Date: 2005-01-31 15:28:24
Message-ID: 41FE4E98.8090303@magproductions.nl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

John DeSoi wrote:
> I think there are much better ways to do this. If the result set is
> large, the user could be waiting a very long time. Two possibilities are
> (1) use a cursor or (2) use limit and offset in your select statement
> grab only the rows you need to display.

Someone correct me if I'm wrong, but I don't think PHP supports cursors
(Maybe PHP 5?).

Otherwise, that would have been a neat solution indeed.

--
Alban Hertroys
MAG Productions

T: +31(0)53 4346874
F: +31(0)53 4346876
E: alban(at)magproductions(dot)nl
W: http://www.magproductions.nl

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Együd Csaba 2005-01-31 15:30:12 Re: Howto determin the number of elemnts of an array
Previous Message Sven Willenberger 2005-01-31 15:27:15 Re: Howto determin the number of elemnts of an array