*** empty log message ***
authorHiroshi Inoue
Fri, 31 Mar 2000 08:16:33 +0000 (08:16 +0000)
committerHiroshi Inoue
Fri, 31 Mar 2000 08:16:33 +0000 (08:16 +0000)
doc/src/sgml/ref/reindex.sgml [new file with mode: 0644]

diff --git a/doc/src/sgml/ref/reindex.sgml b/doc/src/sgml/ref/reindex.sgml
new file mode 100644 (file)
index 0000000..22bd5ed
--- /dev/null
@@ -0,0 +1,181 @@
+
+
+
+  
+   REINDEX
+  
+  SQL - Language Statements
+  
+   REINDEX
+  
+  
+   Recover corrupted system indexes under standalone Postgres
+  
+  
+   2000-03-30
+  
+  
+REINDEX { TABLE | DATABASE | INDEX } name [ FORCE ]
+  
+  
+  
+   
+    2000-03-30
+   
+   </div> <div class="diff add">+    Inputs</div> <div class="diff add">+   
+   
+
+    
+     
+      TABLE
+      
+       
+   Recreate all indexes of a specfied table.
+       
+      
+     
+     
+      DATABASE
+      
+       
+   Recreate all system indexes of a specfied database.
+       
+      
+     
+     
+      INDEX
+      
+       
+   Recreate a specfied index.
+       
+      
+     
+     
+      name
+      
+       
+   The name of the specific table/database/index to be be reindexed.
+       
+      
+     
+     
+      FORCE
+      
+       
+   Recreate indexes forcedly. Without this keyword REINDEX does
+   nothing unless target indexes are invalidated.
+       
+      
+     
+    
+   
+  
+  
+  
+   
+    2000-03-30
+   
+   </div> <div class="diff add">+    Outputs</div> <div class="diff add">+   
+   
+
+    
+     
+      
+REINDEX
+       
+      
+       
+   Message returned if the table is successfully reindexed.
+       
+      
+     
+    
+   
+  
+
+  
+   2000-03-30
+  
+  </div> <div class="diff add">+   Description</div> <div class="diff add">+  
+  
+   REINDEX is used to recover corrupted system indexes.
+    In order to run REINDEX command,Postmaster must be shutdown and 
+    standalone Postgres should be started instead with options -O and
+    -P(an option to ignore system indexes).  Note that we couldn't rely
+    on system indexes for the recovery of system indexes.
+  
+
+  </div> <div class="diff add">+   Usage</div> <div class="diff add">+  
+  
+   Recreate the table mytable:
+
+   
+     REINDEX TABLE mytable;
+   
+  
+
+  
+   Some more examples:
+
+   
+REINDEX DATABASE my_database FORCE;
+REINDEX INDEX my_index;
+   
+  
+  </div> <div class="diff add">+   Compatibility</div> <div class="diff add">+  
+  
+  
+   
+    2000-03-30
+   
+   </div> <div class="diff add">+    SQL92</div> <div class="diff add">+   
+   
+    There is no REINDEX in SQL92.
+   
+  
+
+
+