> > 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?
Since we don't have other hints that are embedded directly into the SQL
that sounds perfect.
The not so offhand question for me is whether to use this percentage for
non cursor selects also. Imho both should (at least in default) behave the same.
pgsql-hackers by date
|Next:||From: Tom Lane||Date: 2000-11-03 16:59:49|
|Subject: Re: AW: AW: LIMIT in DECLARE CURSOR: request for comments |
|Previous:||From: Thomas Lockhart||Date: 2000-11-03 16:25:23|
|Subject: INTERVAL representation|