• Tom Lane's avatar
    Fix ALTER TABLE ADD COLUMN to disallow the same column types that are · 260faf0b
    Tom Lane authored
    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.
    260faf0b
heap.c 53.8 KB