Document that analyzing an empty table doesn't update the statistics.

Per a suggestion from Sergey Konoplev
pull/1/head
Robert Haas 14 years ago
parent cf3fff6326
commit db6de5b71e
  1. 6
      doc/src/sgml/ref/analyze.sgml

@ -190,6 +190,12 @@ ANALYZE [ VERBOSE ] [ <replaceable class="PARAMETER">table</replaceable> [ ( <re
or updated, the inheritance statistics will not be up to date unless you
run <command>ANALYZE</command> manually.
</para>
<para>
If the table being analyzed is completely empty, <command>ANALYZE</command>
will not record new statistics for that table. Any existing statistics
will be retained.
</para>
</refsect1>
<refsect1>

Loading…
Cancel
Save