Document that analyzing an empty table doesn't update the statistics.
authorRobert Haas
Fri, 27 Jan 2012 17:13:49 +0000 (12:13 -0500)
committerRobert Haas
Fri, 27 Jan 2012 17:14:23 +0000 (12:14 -0500)
Per a suggestion from Sergey Konoplev

doc/src/sgml/ref/analyze.sgml

index 7545fa5d869bb620a3d839dec8cd57c13cc71427..8c9057beb9190865e7cd0649eabea8119e07ebba 100644 (file)
@@ -190,6 +190,12 @@ ANALYZE [ VERBOSE ] [ table [ ( 
     or updated, the inheritance statistics will not be up to date unless you
     run ANALYZE manually.
   
+
+  
+    If the table being analyzed is completely empty, ANALYZE
+    will not record new statistics for that table.  Any existing statistics
+    will be retained.
+