Re: ALTER TABLE ... SET DATA TYPE removes statistics

Alvaro Herrera <alvherre@alvh.no-ip.org>

From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: "nikolai.berkoff" <nikolai.berkoff@pm.me>
Cc: Michael Paquier <michael@paquier.xyz>, Euler Taveira <euler@eulerto.com>, "pgsql-docs@lists.postgresql.org" <pgsql-docs@lists.postgresql.org>
Date: 2021-11-26T17:39:18Z
Lists: pgsql-docs
On 2021-Oct-26, nikolai.berkoff wrote:

> Thank you, this reads better.
> Is there a reason in the docs there is sometimes 
> 
>   <link linkend="sql-analyze"><command>ANALYZE</command></link> 
> 
> and sometimes only 
> 
>   <command>ANALYZE</command>
> ? I prefer the link if there is no hard rule.

I pushed this on November 5th; it is commit
df80f9da5c6541e744eeb20eaca919c7fc189999, including this suggestion to
cross-ref to ANALYZE.

Thanks for reporting this

-- 
Álvaro Herrera         PostgreSQL Developer  —  https://www.EnterpriseDB.com/



Commits

  1. Document that ALTER TABLE .. TYPE removes statistics