Re: No result when selecting attstattarget from pg_attribute

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: No result when selecting attstattarget from pg_attribute
Дата
Msg-id 31263.1574952854@sss.pgh.pa.us
обсуждение исходный текст
Ответ на No result when selecting attstattarget from pg_attribute  ("William Sescu (Suva)" <william.sescu@suva.ch>)
Ответы AW: No result when selecting attstattarget from pg_attribute  ("William Sescu (Suva)" <william.sescu@suva.ch>)
Список pgsql-admin
"William Sescu (Suva)" <william.sescu@suva.ch> writes:
> I was following the create statistics example from the doc
> https://www.postgresql.org/docs/11/sql-createstatistics.html
> and wondered why I don't see any results when selecting attstattarget from pg_attribute.

attstattarget has nothing to do with extended statistics.
It's for recording "ALTER TABLE ... SET STATISTICS n"
commands, which just control the granularity of the
regular (pg_statistic) statistics.

Look into pg_statistic_ext to see the effects of CREATE
STATISTICS.

            regards, tom lane



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

Предыдущее
От: Laurenz Albe
Дата:
Сообщение: Re: No result when selecting attstattarget from pg_attribute
Следующее
От: "William Sescu (Suva)"
Дата:
Сообщение: AW: No result when selecting attstattarget from pg_attribute