- Notifications
You must be signed in to change notification settings - Fork5
Commit7946f77
committed
Cause ALTER TABLE to perform ALTER COLUMN DROP DEFAULT operations during
the DROP pass rather than the ADD_CONSTR pass. On examining the code Ithink this was just an oversight rather than intentional, and it seemsto satisfy the principle of least surprise better than the alternativesolution that was discussed. Add an example to the ref page showing howto do ALTER TYPE and update the default in one command. Per gripe fromMarkus Bertheau that that wasn't possible.1 parent89c07b1 commit7946f77
File tree
2 files changed
+16
-3
lines changed- doc/src/sgml/ref
- src/backend/commands
2 files changed
+16
-3
lines changedLines changed: 14 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 |
| - | |
| 2 | + | |
3 | 3 |
| |
4 | 4 |
| |
5 | 5 |
| |
| |||
741 | 741 |
| |
742 | 742 |
| |
743 | 743 |
| |
| 744 | + | |
| 745 | + | |
| 746 | + | |
| 747 | + | |
| 748 | + | |
| 749 | + | |
| 750 | + | |
| 751 | + | |
| 752 | + | |
| 753 | + | |
| 754 | + | |
| 755 | + | |
| 756 | + | |
744 | 757 |
| |
745 | 758 |
| |
746 | 759 |
| |
|
Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
11 |
| - | |
| 11 | + | |
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
| |||
2000 | 2000 |
| |
2001 | 2001 |
| |
2002 | 2002 |
| |
2003 |
| - | |
| 2003 | + | |
2004 | 2004 |
| |
2005 | 2005 |
| |
2006 | 2006 |
| |
|
0 commit comments
Comments
(0)