Re-order REINDEX options in manual for consistency. REINDEX
DATABASE/TABLE/INDEX is the proper order.
This commit is contained in:
parent
8fbef3b55d
commit
38e6eb197d
@ -1,5 +1,5 @@
|
|||||||
<!--
|
<!--
|
||||||
$Header: /cvsroot/pgsql/doc/src/sgml/ref/reindex.sgml,v 1.13 2002/09/21 18:32:54 petere Exp $
|
$Header: /cvsroot/pgsql/doc/src/sgml/ref/reindex.sgml,v 1.14 2002/11/17 23:43:32 momjian Exp $
|
||||||
PostgreSQL documentation
|
PostgreSQL documentation
|
||||||
-->
|
-->
|
||||||
|
|
||||||
@ -21,7 +21,7 @@ PostgreSQL documentation
|
|||||||
<date>2000-03-30</date>
|
<date>2000-03-30</date>
|
||||||
</refsynopsisdivinfo>
|
</refsynopsisdivinfo>
|
||||||
<synopsis>
|
<synopsis>
|
||||||
REINDEX { TABLE | DATABASE | INDEX } <replaceable class="PARAMETER">name</replaceable> [ FORCE ]
|
REINDEX { DATABASE | TABLE | INDEX } <replaceable class="PARAMETER">name</replaceable> [ FORCE ]
|
||||||
</synopsis>
|
</synopsis>
|
||||||
|
|
||||||
<refsect2 id="R2-SQL-REINDEX-1">
|
<refsect2 id="R2-SQL-REINDEX-1">
|
||||||
@ -34,14 +34,6 @@ REINDEX { TABLE | DATABASE | INDEX } <replaceable class="PARAMETER">name</replac
|
|||||||
<para>
|
<para>
|
||||||
|
|
||||||
<variablelist>
|
<variablelist>
|
||||||
<varlistentry>
|
|
||||||
<term>TABLE</term>
|
|
||||||
<listitem>
|
|
||||||
<para>
|
|
||||||
Recreate all indexes of a specified table.
|
|
||||||
</para>
|
|
||||||
</listitem>
|
|
||||||
</varlistentry>
|
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term>DATABASE</term>
|
<term>DATABASE</term>
|
||||||
<listitem>
|
<listitem>
|
||||||
@ -51,6 +43,14 @@ REINDEX { TABLE | DATABASE | INDEX } <replaceable class="PARAMETER">name</replac
|
|||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
<varlistentry>
|
||||||
|
<term>TABLE</term>
|
||||||
|
<listitem>
|
||||||
|
<para>
|
||||||
|
Recreate all indexes of a specified table.
|
||||||
|
</para>
|
||||||
|
</listitem>
|
||||||
|
</varlistentry>
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term>INDEX</term>
|
<term>INDEX</term>
|
||||||
<listitem>
|
<listitem>
|
||||||
@ -63,7 +63,7 @@ REINDEX { TABLE | DATABASE | INDEX } <replaceable class="PARAMETER">name</replac
|
|||||||
<term><replaceable class="PARAMETER">name</replaceable></term>
|
<term><replaceable class="PARAMETER">name</replaceable></term>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
The name of the specific table/database/index to be reindexed.
|
The name of the specific database/table/index to be reindexed.
|
||||||
Table and index names may be schema-qualified.
|
Table and index names may be schema-qualified.
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
@ -156,8 +156,8 @@ REINDEX
|
|||||||
started instead, giving it
|
started instead, giving it
|
||||||
the command-line options -O and -P (these options allow system table
|
the command-line options -O and -P (these options allow system table
|
||||||
modifications and prevent use of system indexes, respectively). Then
|
modifications and prevent use of system indexes, respectively). Then
|
||||||
issue <command>REINDEX INDEX</>, <command>REINDEX TABLE</>, or
|
issue <command>REINDEX DATABASE</>, <command>REINDEX TABLE</>,
|
||||||
<command>REINDEX DATABASE</> depending on how much you want to reconstruct.
|
<command>REINDEX INDEX</>, or depending on how much you want to reconstruct.
|
||||||
If in doubt, use <command>REINDEX DATABASE FORCE</> to force reconstruction
|
If in doubt, use <command>REINDEX DATABASE FORCE</> to force reconstruction
|
||||||
of all system indexes in the database. Then quit the standalone backend
|
of all system indexes in the database. Then quit the standalone backend
|
||||||
and restart the postmaster.
|
and restart the postmaster.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user