forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitf7d7dad
committed
Add a transform function for varbit typmod coercisions.
This enables ALTER TABLE to skip table and index rebuilds when thenew type is unconstraint varbit, or when the allowable number of bitsis not decreasing.Noah Misch, with review and a fix for an OID collision by me.1 parent3cc0800 commitf7d7dad
File tree
4 files changed
+40
-2
lines changed- src
- backend/utils/adt
- include
- catalog
- utils
4 files changed
+40
-2
lines changedLines changed: 35 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
18 | 18 |
| |
19 | 19 |
| |
20 | 20 |
| |
| 21 | + | |
| 22 | + | |
21 | 23 |
| |
22 | 24 |
| |
23 | 25 |
| |
| |||
645 | 647 |
| |
646 | 648 |
| |
647 | 649 |
| |
| 650 | + | |
| 651 | + | |
| 652 | + | |
| 653 | + | |
| 654 | + | |
| 655 | + | |
| 656 | + | |
| 657 | + | |
| 658 | + | |
| 659 | + | |
| 660 | + | |
| 661 | + | |
| 662 | + | |
| 663 | + | |
| 664 | + | |
| 665 | + | |
| 666 | + | |
| 667 | + | |
| 668 | + | |
| 669 | + | |
| 670 | + | |
| 671 | + | |
| 672 | + | |
| 673 | + | |
| 674 | + | |
| 675 | + | |
| 676 | + | |
| 677 | + | |
| 678 | + | |
| 679 | + | |
| 680 | + | |
| 681 | + | |
| 682 | + | |
648 | 683 |
| |
649 | 684 |
| |
650 | 685 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
53 | 53 |
| |
54 | 54 |
| |
55 | 55 |
| |
56 |
| - | |
| 56 | + | |
57 | 57 |
| |
58 | 58 |
|
Lines changed: 3 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2009 | 2009 |
| |
2010 | 2010 |
| |
2011 | 2011 |
| |
2012 |
| - | |
| 2012 | + | |
| 2013 | + | |
| 2014 | + | |
2013 | 2015 |
| |
2014 | 2016 |
| |
2015 | 2017 |
| |
|
Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
72 | 72 |
| |
73 | 73 |
| |
74 | 74 |
| |
| 75 | + | |
75 | 76 |
| |
76 | 77 |
| |
77 | 78 |
| |
|
0 commit comments
Comments
(0)