[HACKERS] pg_statistic_ext.staenabled might not be the best column name

Поиск
Список
Период
Сортировка
От David Rowley
Тема [HACKERS] pg_statistic_ext.staenabled might not be the best column name
Дата
Msg-id CAKJS1f_2t5jhSN7huYRFH3w3rrHfG2QU7hiUHsu-Vdjd1rYT3w@mail.gmail.com
обсуждение исходный текст
Ответы Re: [HACKERS] pg_statistic_ext.staenabled might not be the bestcolumn name  (Robert Haas <robertmhaas@gmail.com>)
Re: [HACKERS] pg_statistic_ext.staenabled might not be the best column name  (Tomas Vondra <tomas.vondra@2ndquadrant.com>)
Список pgsql-hackers
I'd been thinking that staenabled is not the most suitable column name
for storing the types of statistics that are defined for the extended
statistics.  For me, this indicates that something can be disabled,
but there's no syntax for that, and even if there was, if we were to
enable/disable the kinds, we'd likely want to keep tabs on which kinds
were originally defined, otherwise it's more of an ADD and DROP than
an ENABLE/DISABLE.

"stakind" seems like a better name. I'd have personally gone with
"statype" but pg_statistic already thinks stakind is better.

A patch which changes this is attached

-- 
 David Rowley                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Вложения

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

Предыдущее
От: Ashutosh Bapat
Дата:
Сообщение: Re: [HACKERS] Foreign Join pushdowns not working properly for outer joins
Следующее
От: Jan de Visser
Дата:
Сообщение: Re: [HACKERS] my open items vs. my vacation