Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commited19b91

Browse files
committed
Add mention that ALTER TABLE RENAME affects indexes and sequences too.
1 parent97a6676 commited19b91

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

‎doc/src/sgml/ref/alter_table.sgml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$Header: /cvsroot/pgsql/doc/src/sgml/ref/alter_table.sgml,v 1.32 2001/11/18 20:35:02 petere Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/ref/alter_table.sgml,v 1.33 2001/11/22 03:42:32 momjian Exp $
33
Postgres documentation
44
-->
55

@@ -169,11 +169,10 @@ ALTER TABLE <replaceable class="PARAMETER">table</replaceable>
169169
The <literal>ALTER COLUMN SET STATISTICS</literal> form allows you to
170170
set the statistics-gathering target for subsequent
171171
<xref linkend="sql-analyze" endterm="sql-analyze-title"> operations.
172-
The <literal>RENAME</literal> clause causes the name of a table or column
173-
to change without changing any of the data contained in
174-
the affected table. Thus, the table or column will
175-
remain of the same type and size after this command is
176-
executed.
172+
The <literal>RENAME</literal> clause causes the name of a table,
173+
column, index, or sequence to change without changing any of the
174+
data. The data will remain of the same type and size after the
175+
command is executed.
177176
The ADD <replaceable class="PARAMETER">table constraint definition</replaceable> clause
178177
adds a new constraint to the table using the same syntax as <xref
179178
linkend="SQL-CREATETABLE" endterm="SQL-CREATETABLE-TITLE">.
@@ -345,8 +344,8 @@ DROP TABLE temp;
345344
</para>
346345

347346
<para>
348-
The clauses to rename columnsandtables are <productname>Postgres</productname>
349-
extensions from SQL92.
347+
The clauses to renametables,columns, indexes,andsequences are
348+
<productname>Postgres</productname>extensions from SQL92.
350349
</para>
351350

352351
</refsect2>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp