From 04a2b54c09c1d60f7d04ba1de360fc0113864ffe Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Sun, 12 Feb 2006 19:11:01 +0000 Subject: Revert patch becaues of locking concerns: Allow ALTER TABLE ... ALTER CONSTRAINT ... RENAME Joachim Wieland --- doc/src/sgml/ref/alter_index.sgml | 11 +---------- doc/src/sgml/ref/alter_table.sgml | 16 +--------------- 2 files changed, 2 insertions(+), 25 deletions(-) (limited to 'doc/src/sgml/ref') diff --git a/doc/src/sgml/ref/alter_index.sgml b/doc/src/sgml/ref/alter_index.sgml index b2df948d64c..929f8709bab 100644 --- a/doc/src/sgml/ref/alter_index.sgml +++ b/doc/src/sgml/ref/alter_index.sgml @@ -1,5 +1,5 @@ @@ -107,15 +107,6 @@ ALTER INDEX name SET TABLESPACE ALTER TABLE that apply to indexes. - - Indexes are also used internally by constraints, namely by UNIQUE and - PRIMARY KEY constraints. If you rename an index that is used internally by - a constraint of that type, this constraint will implicitly be renamed as - well. On the other hand, if you rename such a constraint, it will - implicitly rename its corresponding index such that both objects always - have the same name. - - There was formerly an ALTER INDEX OWNER variant, but this is now ignored (with a warning). An index cannot have an owner diff --git a/doc/src/sgml/ref/alter_table.sgml b/doc/src/sgml/ref/alter_table.sgml index 9061fb4e2df..16f6ce8117a 100644 --- a/doc/src/sgml/ref/alter_table.sgml +++ b/doc/src/sgml/ref/alter_table.sgml @@ -1,5 +1,5 @@ @@ -24,8 +24,6 @@ ALTER TABLE [ ONLY ] name [ * ] action [, ... ] ALTER TABLE [ ONLY ] name [ * ] RENAME [ COLUMN ] column TO new_column -ALTER TABLE [ ONLY ] name [ * ] - ALTER CONSTRAINT constraint_name RENAME TO new_constraint_name ALTER TABLE name RENAME TO new_name ALTER TABLE name @@ -171,18 +169,6 @@ where action is one of: - - ALTER CONSTRAINT constraint_name RENAME TO new_constraint_name - - - This form renames a constraint that is defined on the table. Note that if - a constraint is using an index internally (UNIQUE or - PRIMARY KEY constraints), the corresponding index will be - renamed as well. - - - - ADD table_constraint -- cgit v1.2.3