summaryrefslogtreecommitdiff
path: root/src/backend/storage/buffer/bufmgr.c
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2011-01-26 06:23:23 -0500
committerRobert Haas <rhaas@postgresql.org>2011-01-26 06:37:08 -0500
commita06e41deebdf74b8b5109329dc75b2e9d9057962 (patch)
tree6d08a55b6f8fb05dc0f9244133e0804e830369e5 /src/backend/storage/buffer/bufmgr.c
parent64bc872761bc9bf730307957f09f44a3eabbe3af (diff)
Remove arbitrary ALTER TABLE .. ADD COLUMN restriction.
The previous coding prevented ALTER TABLE .. ADD COLUMN from being used with a non-NULL default in situations where the table's rowtype was being used elsewhere. But this is a completely arbitrary restriction since you could do the same operation in multiple steps (add the column, add the default, update the table). Inspired by a patch from Noah Misch, though I didn't use his code.
Diffstat (limited to 'src/backend/storage/buffer/bufmgr.c')
0 files changed, 0 insertions, 0 deletions