]> granicus.if.org Git - postgresql/commitdiff
Note explicitly that hash indexes are also not replicated because they're not
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Tue, 26 Oct 2010 19:50:31 +0000 (22:50 +0300)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Tue, 26 Oct 2010 19:53:41 +0000 (22:53 +0300)
WAL-logged. Make the notice about the lack of WAL-logging more visible by
making it a <caution>. Also remove the false statement from hot standby
caveats section that hash indexes are not used during hot standby.

doc/src/sgml/high-availability.sgml
doc/src/sgml/indices.sgml

index 1f5ec85ecaeaf1e81255600efd5d60710145ffd4..bbcc6b6822034ba0daeacb02a1f2bc381778785a 100644 (file)
@@ -1845,8 +1845,7 @@ LOG:  database system is ready to accept read only connections
    <listitem>
     <para>
      Operations on hash indexes are not presently WAL-logged, so
-     replay will not update these indexes.  Hash indexes will not be
-     used for query plans during recovery.
+     replay will not update these indexes.
     </para>
    </listitem>
    <listitem>
index 15c3320e2fdb2ba683b8b3c255d1014bf3350a42..98d5b38ed6c73e687f75ce61ff717f9baf030960 100644 (file)
@@ -187,14 +187,15 @@ CREATE INDEX <replaceable>name</replaceable> ON <replaceable>table</replaceable>
 </synopsis>
   </para>
 
-  <note>
+  <caution>
    <para>
     Hash index operations are not presently WAL-logged,
     so hash indexes might need to be rebuilt with <command>REINDEX</>
-    after a database crash.
-    For this reason, hash index use is presently discouraged.
+    after a database crash. They are also not replicated over streaming or
+    file-based replication.
+    For these reasons, hash index use is presently discouraged.
    </para>
-  </note>
+  </caution>
 
   <para>
    <indexterm>