Re: preserving statistics settings

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: preserving statistics settings
Дата
Msg-id 15428.1027113625@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: preserving statistics settings  (nconway@klamath.dyndns.org (Neil Conway))
Ответы Re: preserving statistics settings  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
nconway@klamath.dyndns.org (Neil Conway) writes:
> On Fri, Jul 19, 2002 at 01:28:29PM -0400, Tom Lane wrote:
>> Not sure why I didn't think of this before, but we could make the stored
>> value of attstattarget be "-1" to indicate "use the default".  Zero or a
>> positive value then indicates an explicit selection.  We can't
>> retroactively fix 7.2, but going forward we'd have a reasonable answer.

> Sounds good to me. I can implement this, unless you'd rather do it.

Go for it.  Note you should be able to remove genbki.sh's knowledge of
DEFAULT_ATTSTATTARGET, as well as all the occurrences of that symbol
in include/catalog/*.h.  Offhand I guess only analyze.c should refer
to that symbol once it's done right.
        regards, tom lane


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

Предыдущее
От: nconway@klamath.dyndns.org (Neil Conway)
Дата:
Сообщение: Re: preserving statistics settings
Следующее
От: reina@nsi.edu (Tony Reina)
Дата:
Сообщение: Inheritance a burden?