Re: Show statistics target in \d+

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Show statistics target in \d+
Date: 2011-11-04 15:01:19
Message-ID: CABUevEwUhHVZBMBBOosktg0_Pm_nfbzGRn1gcx9pb5=FxWz_QQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, Nov 4, 2011 at 15:23, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Magnus Hagander <magnus(at)hagander(dot)net> writes:
>> The attached patch adds a column for statistics target when viewing
>> tables in psql using \d+.
>
>> Comments/reivews?
>
> Isn't this going to show -1 most of the time?  Seems rather useless,
> not to mention confusing to people who don't know what that means.

It will, but in the cases where it doesn't, it'll be very useful and
good to have thrown in your face.

Would you find it better if we showed blank (NULL) when it was -1?

--
 Magnus Hagander
 Me: http://www.hagander.net/
 Work: http://www.redpill-linpro.com/

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2011-11-04 15:04:05 Re: Show sequences owned by
Previous Message Magnus Hagander 2011-11-04 14:55:03 Re: Show sequences owned by