Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitdf80f9d

Browse files
alvherrenikolai-b
andcommitted
Document that ALTER TABLE .. TYPE removes statistics
Co-authored-by: Nikolai Berkoff <nikolai.berkoff@pm.me>Discussion:https://postgr.es/m/vCc8XnwDmlP4ZnHBQLIVxzD405BiYHVC9qZlhIF7IsfxK0gC9mZ4PUUOH0-3y6kv5p-87-3_ljqT1KvQVAnb8OoWhPU3kcqWn2ZpmxRBCQg=@pm.me
1 parent105c1de commitdf80f9d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

‎doc/src/sgml/ref/alter_table.sgml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,12 @@ WITH ( MODULUS <replaceable class="parameter">numeric_literal</replaceable>, REM
198198
clause must be provided if there is no implicit or assignment
199199
cast from old to new type.
200200
</para>
201+
202+
<para>
203+
When this form is used, the column's statistics are removed,
204+
so running <link linkend="sql-analyze"><command>ANALYZE</command></link>
205+
on the table afterwards is recommended.
206+
</para>
201207
</listitem>
202208
</varlistentry>
203209

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp