Restore ALTER TABLE .. ADD COLUMN w/DEFAULT restriction.
Robert Haas <rhaas@postgresql.org>
Restore ALTER TABLE .. ADD COLUMN w/DEFAULT restriction. This reverts commit a06e41deebdf74b8b5109329dc75b2e9d9057962 of 2011-01-26. Per discussion, this behavior is not wanted, as it would need to change if we ever made composite types support DEFAULT.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/commands/tablecmds.c | modified | +3 −5 |
| src/test/regress/expected/rowtypes.out | modified | +3 −6 |
| src/test/regress/sql/rowtypes.sql | modified | +2 −6 |