forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitb747010
committed
In initdb, defend against assignment of NULL values to not-null columns.
Previously, you could write _null_ in a BKI DATA line for a column that'ssupposed to be NOT NULL and initdb would let it pass, probably breakingsubsequent accesses to the row. No doubt the original coding overlookedthis simple sanity check because in the beginning we didn't have any wayto mark catalog columns NOT NULL at initdb time.1 parentf2a8861 commitb747010
1 file changed
+5
-0
lines changedLines changed: 5 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
843 | 843 |
| |
844 | 844 |
| |
845 | 845 |
| |
| 846 | + | |
| 847 | + | |
| 848 | + | |
| 849 | + | |
| 850 | + | |
846 | 851 |
| |
847 | 852 |
| |
848 | 853 |
| |
|
0 commit comments
Comments
(0)