pgsql-server/src backend/catalog/Tag: backend/ ...
pgsql-server/src backend/catalog/Tag: backend/ ...
От:
tgl@postgresql.org (Tom Lane)
Дата:
CVSROOT: /cvsroot Module name: pgsql-server Changes by: tgl@postgresql.org 02/12/16 13:40:00 Modified files: src/backend/catalog: Tag: REL7_3_STABLE heap.c src/backend/commands: Tag: REL7_3_STABLE tablecmds.c src/backend/parser: Tag: REL7_3_STABLE parse_clause.c src/backend/utils/cache: Tag: REL7_3_STABLE relcache.c src/include/catalog: Tag: REL7_3_STABLE heap.h Log message: 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.