Allow ALTER TABLE name {OF type | NOT OF}.

Robert Haas <rhaas@postgresql.org>

Commit: 68739ba856c52e6721d6cffec21f1bf0327a9a7b
Author: Robert Haas <rhaas@postgresql.org>
Date: 2011-04-21T01:38:47Z
Releases: 9.1.0
Allow ALTER TABLE name {OF type | NOT OF}.

This syntax allows a standalone table to be made into a typed table,
or a typed table to be made standalone.  This is possibly a mildly
useful feature in its own right, but the real motivation for this
change is that we need it to make pg_upgrade work with typed tables.
This doesn't actually fix that problem, but it's necessary
infrastructure.

Noah Misch

Files