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

Re: AW: LIMIT in DECLARE CURSOR: request for comments

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Zeugswetter Andreas SB <ZeugswetterA(at)wien(dot)spardat(dot)at>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: AW: LIMIT in DECLARE CURSOR: request for comments
Date: 2000-11-03 16:10:55
Message-ID: 6759.973267855@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackers
Zeugswetter Andreas SB <ZeugswetterA(at)wien(dot)spardat(dot)at> writes:
> I did understand this, but I still disagree. Whether this is what you want
> strongly depends on what the application does with the resulting rows.

Sure ...

> There is no way for the backend to know this, thus imho the app needs
> to give a hint. 

Right.  So what do you think about a hint that takes the form of a SET
variable for the fetch percentage to assume for a DECLARE CURSOR?

			regards, tom lane

In response to

pgsql-hackers by date

Next:From: Thomas LockhartDate: 2000-11-03 16:25:23
Subject: INTERVAL representation
Previous:From: Tom LaneDate: 2000-11-03 16:08:49
Subject: Re: [HACKERS] OSDN Database conference report (long)

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