Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit bebbbde

Browse files
committed
Seems it would be nice if the ALTER INDEX ref page were actually
linked into the docs ...
1 parent c1700bf commit bebbbde

File tree

3 files changed

+11
-7
lines changed

3 files changed

+11
-7
lines changed

doc/src/sgml/ref/allfiles.sgml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$PostgreSQL: pgsql/doc/src/sgml/ref/allfiles.sgml,v 1.61 2004/08/12 19:12:21 tgl Exp $
2+
$PostgreSQL: pgsql/doc/src/sgml/ref/allfiles.sgml,v 1.62 2004/08/21 16:16:04 tgl Exp $
33
PostgreSQL documentation
44
Complete list of usable sgml source files in this directory.
55
-->
@@ -12,6 +12,7 @@ Complete list of usable sgml source files in this directory.
1212
<!entity alterDomain system "alter_domain.sgml">
1313
<!entity alterFunction system "alter_function.sgml">
1414
<!entity alterGroup system "alter_group.sgml">
15+
<!entity alterIndex system "alter_index.sgml">
1516
<!entity alterLanguage system "alter_language.sgml">
1617
<!entity alterOperator system "alter_operator.sgml">
1718
<!entity alterOperatorClass system "alter_opclass.sgml">

doc/src/sgml/ref/alter_index.sgml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$PostgreSQL: pgsql/doc/src/sgml/ref/alter_index.sgml,v 1.2 2004/08/20 14:56:57 momjian Exp $
2+
$PostgreSQL: pgsql/doc/src/sgml/ref/alter_index.sgml,v 1.3 2004/08/21 16:16:04 tgl Exp $
33
PostgreSQL documentation
44
-->
55

@@ -46,7 +46,7 @@ where <replaceable class="PARAMETER">action</replaceable> is one of:
4646
<listitem>
4747
<para>
4848
This form changes the owner of the index to the
49-
specified user.
49+
specified user. This can only be done by a superuser.
5050
</para>
5151
</listitem>
5252
</varlistentry>
@@ -67,7 +67,7 @@ where <replaceable class="PARAMETER">action</replaceable> is one of:
6767
<term><literal>RENAME</literal></term>
6868
<listitem>
6969
<para>
70-
The <literal>RENAME</literal> forms change the name of the index.
70+
The <literal>RENAME</literal> form changes the name of the index.
7171
There is no effect on the stored data.
7272
</para>
7373
</listitem>
@@ -134,8 +134,10 @@ where <replaceable class="PARAMETER">action</replaceable> is one of:
134134
<title>Notes</title>
135135

136136
<para>
137-
This same operations are supported by <literal>ALTER TABLE</>. See also
138-
<xref linkend="SQL-ALTERTABLE" endterm="SQL-ALTERTABLE-TITLE">.
137+
These operations are also possible using
138+
<xref linkend="SQL-ALTERTABLE" endterm="SQL-ALTERTABLE-TITLE">.
139+
<command>ALTER INDEX</> is in fact just an alias for the forms
140+
of <command>ALTER TABLE</> that apply to indexes.
139141
</para>
140142

141143
<para>

doc/src/sgml/reference.sgml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!-- reference.sgml
2-
$PostgreSQL: pgsql/doc/src/sgml/reference.sgml,v 1.51 2004/08/01 17:32:11 tgl Exp $
2+
$PostgreSQL: pgsql/doc/src/sgml/reference.sgml,v 1.52 2004/08/21 16:16:03 tgl Exp $
33

44
PostgreSQL Reference Manual
55
-->
@@ -44,6 +44,7 @@ PostgreSQL Reference Manual
4444
&alterDomain;
4545
&alterFunction;
4646
&alterGroup;
47+
&alterIndex;
4748
&alterLanguage;
4849
&alterOperator;
4950
&alterOperatorClass;

0 commit comments

Comments
 (0)