Fix ALTER TABLE ADD COLUMN to disallow the same column types that are

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 260faf0b633716d02e30103bd5e94eb40f06bf27
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2002-12-16T18:39:22Z
Releases: 7.4.1
Fix ALTER TABLE ADD COLUMN to disallow the same column types that are
disallowed by CREATE TABLE (eg, pseudo-types); also disallow these types
from being introduced by the range-function syntax.  While at it, allow
CREATE TABLE to create zero-column tables, per recent pghackers discussion.
I am back-patching this into 7.3 since failure to disallow pseudo-types
is arguably a security hole.

Files