The clauses to rename tables, columns, indexes, and sequences are
PostgreSQL extensions from SQL92.
+
+ ALTER TABLE DROP COLUMN> can be used to drop the only column
+ of a table, leaving a zero-column table. This is an extension from SQL92,
+ which disallows zero-column tables.
+
standard.
+
+
+
Zero-column tables
+
+
PostgreSQL allows a table of no columns
+ to be created (for example, CREATE TABLE foo();>). This
+ is an extension from the SQL standard, which does not allow zero-column
+ tables. Zero-column tables are not in themselves very useful, but
+ disallowing them creates odd special cases for ALTER TABLE
+ DROP COLUMN>, so it seems cleaner to ignore this spec restriction.
+
+