Re: pg_statistic, lack of documentation - Mailing list pgsql-hackers

From Robert Haas
Subject Re: pg_statistic, lack of documentation
Date
Msg-id CA+TgmoYGvM1sTDx1+MYuwZEeG4J969OeMg-V=i9uXehVvUUrRQ@mail.gmail.com
Whole thread Raw
In response to pg_statistic, lack of documentation  (Sergey Konoplev <gray.ru@gmail.com>)
Responses Re: pg_statistic, lack of documentation  (Sergey Konoplev <gray.ru@gmail.com>)
List pgsql-hackers
On Sat, Jan 14, 2012 at 7:34 AM, Sergey Konoplev <gray.ru@gmail.com> wrote:
> Hi,
>
> http://www.postgresql.org/docs/9.1/interactive/catalog-pg-statistic.html
>
> It specifies that entries are created by ANALYZE, but does not mention
> that if a table is empty the entry for it is not created.

The actual behavior, in somewhat more detail, is that the existing
statistics entries, if any, are retained.

I've added a note to that effect to the documentation for ANALYZE,
which seems like a more appropriate place than the pg_statistic
documentation.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


pgsql-hackers by date:

Previous
From: karavelov@mail.bg
Date:
Subject: Re: TS: Limited cover density ranking
Next
From: Robert Haas
Date:
Subject: Re: patch for parallel pg_dump