Re: Show statistics target in \d+ - Mailing list pgsql-hackers

From Magnus Hagander
Subject Re: Show statistics target in \d+
Date
Msg-id CABUevEwUhHVZBMBBOosktg0_Pm_nfbzGRn1gcx9pb5=FxWz_QQ@mail.gmail.com
Whole thread Raw
In response to Re: Show statistics target in \d+  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Show statistics target in \d+
List pgsql-hackers
On Fri, Nov 4, 2011 at 15:23, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Magnus Hagander <magnus@hagander.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/


pgsql-hackers by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: Show sequences owned by
Next
From: Tom Lane
Date:
Subject: Re: Show sequences owned by