On Mon, Jul 22, 2013 at 03:55:33PM -0700, David Fetter wrote:
> On Mon, Jul 22, 2013 at 02:44:59PM -0700, Dimitri Fontaine wrote:
> > Pavel Stehule <pavel.stehule@gmail.com> writes:
> > >> SELECT * from top5();
> >
> > $ TABLE top5; -- add a view on top of the SRF
> >
> > > you cannot use parameters - then I have to have prepared files like
> > > top10, top20, ... what is not too friendly
> >
> > The SRF could be using custom GUCs so that you can parametrize it, or
> > just even classic parameters…
> >
> > $ TABLE top(5); -- needs a patch to accept SRF here…
>
> Andrew Gierth will probably be posting a design & patch for something
> similar soon :)
Probably not :P
Andrew will be posting a design and patch if and when he decides it's
appropriate to do so.
Cheers,
David.
--
David Fetter <david@fetter.org> http://fetter.org/
Phone: +1 415 235 3778 AIM: dfetter666 Yahoo!: dfetter
Skype: davidfetter XMPP: david.fetter@gmail.com
iCal: webcal://www.tripit.com/feed/ical/people/david74/tripit.ics
Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate