Re: Show statistics target in \d+

Поиск
Список
Период
Сортировка
От Josh Kupershmidt
Тема Re: Show statistics target in \d+
Дата
Msg-id CAK3UJRHZGoYUZA497syzkm9rtBspCPnW96ibcayTMzL9G0VZaQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Show statistics target in \d+  (Magnus Hagander <magnus@hagander.net>)
Ответы Re: Show statistics target in \d+  (Cédric Villemain <cedric.villemain.debian@gmail.com>)
Список pgsql-hackers
On Fri, Nov 4, 2011 at 10:05 AM, Magnus Hagander <magnus@hagander.net> wrote:
> On Fri, Nov 4, 2011 at 14:53, Cédric Villemain
>> 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 thought -1 was just fine. The ALTER TABLE doc page is clear that -1
means the system default, and having another value may just confuse
users.

Josh


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: Show statistics target in \d+
Следующее
От: Stephen Frost
Дата:
Сообщение: Re: Show statistics target in \d+