Re: proposal - psql - show longest tables - Mailing list pgsql-hackers

From David Fetter
Subject Re: proposal - psql - show longest tables
Date
Msg-id 20130722230356.GC18100@fetter.org
Whole thread Raw
In response to Re: proposal - psql - show longest tables  (David Fetter <david@fetter.org>)
List pgsql-hackers
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



pgsql-hackers by date:

Previous
From: David Fetter
Date:
Subject: Re: proposal - psql - show longest tables
Next
From: Tom Lane
Date:
Subject: Re: [COMMITTERS] pgsql: Add support for REFRESH MATERIALIZED VIEW CONCURRENTLY.