Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-general by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group