-
- Downloads
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.
Showing
- src/backend/catalog/heap.c 49 additions, 34 deletionssrc/backend/catalog/heap.c
- src/backend/commands/tablecmds.c 4 additions, 6 deletionssrc/backend/commands/tablecmds.c
- src/backend/parser/parse_clause.c 14 additions, 1 deletionsrc/backend/parser/parse_clause.c
- src/backend/utils/cache/relcache.c 4 additions, 3 deletionssrc/backend/utils/cache/relcache.c
- src/include/catalog/heap.h 5 additions, 1 deletionsrc/include/catalog/heap.h
Loading
Please register or sign in to comment