diff --git a/doc/src/sgml/ref/alter_table.sgml b/doc/src/sgml/ref/alter_table.sgml index 0b08f83..c16fc19 100644 --- a/doc/src/sgml/ref/alter_table.sgml +++ b/doc/src/sgml/ref/alter_table.sgml @@ -582,8 +582,8 @@ ALTER TABLE [ IF EXISTS ] name OWNER - This form changes the owner of the table, sequence, or view to the - specified user. + This form changes the owner of the table, sequence, view, materialized view, + or foreign table to the specified user. @@ -625,8 +625,9 @@ ALTER TABLE [ IF EXISTS ] name The RENAME forms change the name of a table - (or an index, sequence, or view), the name of an individual column in - a table, or the name of a constraint of the table. There is no effect on the stored data. + (or an index, sequence, view, materialized view, or foreign table), the name + of an individual column in a table, or the name of a constraint of the table. + There is no effect on the stored data. @@ -708,38 +709,47 @@ ALTER TABLE [ IF EXISTS ] name - new_name + constraint_name - New name for the table. + Name of a new or existing constraint. - type + new_constraint_name - Data type of the new column, or new data type for an existing - column. + New name for an existing constraint. - table_constraint + new_name - New table constraint for the table. + New name for the table. - constraint_name + data_type - Name of an existing constraint to drop. + Data type of the new column, or new data type for an existing + column. + + + + + + table_constraint + + + New table constraint for the table. @@ -799,6 +809,15 @@ ALTER TABLE [ IF EXISTS ] name + rewrite_rule_name + + + Name of a single rewrite rule to disable or enable. + + + + + index_name @@ -836,6 +855,15 @@ ALTER TABLE [ IF EXISTS ] name + type_name + + + The name of a composite type. + + + + + new_owner