Re: Show statistics target in \d+
Kevin Grittner <kevin.grittner@wicourts.gov>
From: "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
To: <cedric.villemain.debian@gmail.com>, "Magnus Hagander" <magnus@hagander.net>
Cc: "PostgreSQL-development" <pgsql-hackers@postgresql.org>
Date: 2011-11-04T14:13:30Z
Lists: pgsql-hackers
Magnus Hagander <magnus@hagander.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