Re: Show statistics target in \d+

From: "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>
To: <cedric(dot)villemain(dot)debian(at)gmail(dot)com>, "Magnus Hagander" <magnus(at)hagander(dot)net>
Cc: "PostgreSQL-development" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Show statistics target in \d+
Date: 2011-11-04 14:13:30
Message-ID: 4EB3ACBA0200002500042A35@gw.wicourts.gov
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Magnus Hagander <magnus(at)hagander(dot)net> wrote:

>> Interesting, can the ouput be clear on the value being a default
>> or an explicit stat target ? (not mandatory but I believe I would
>> like to have it only when the stat target is jnot the default)
>
> It shows -1 when it's the default.
>
> We could map that to the string "default" if we want, or just
> NULL, I guess. Not sure which is best?

I think it would be most useful for it to show as blank, so that
overrides stand out. NULL seems the best way to do that.

-Kevin

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Cédric Villemain 2011-11-04 14:14:22 Re: Show statistics target in \d+
Previous Message Magnus Hagander 2011-11-04 14:12:19 Re: Show sequences owned by