forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit2d7950f
committed
If a range-partitioned table has no default partition, reject null keys.
Commit4e5fe9a introduced thisproblem. Also add a test so it doesn't get broken again.Report by Rushabh Lathia. Fix by Amit Langote. Reviewed by RushabhLathia and Amul Sul. Tweaked by me.Discussion:http://postgr.es/m/CAGPqQf0Y1iJyk4QJBdMf=pS9i6Q0JUMM_h5-qkR3OMJ-e04PyA@mail.gmail.com1 parent62546b4 commit2d7950f
File tree
3 files changed
+9
-3
lines changed- src
- backend/catalog
- test/regress
- expected
- sql
3 files changed
+9
-3
lines changedLines changed: 2 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2553 | 2553 |
| |
2554 | 2554 |
| |
2555 | 2555 |
| |
2556 |
| - | |
2557 |
| - | |
| 2556 | + | |
2558 | 2557 |
| |
2559 | 2558 |
| |
2560 |
| - | |
| 2559 | + | |
2561 | 2560 |
| |
2562 | 2561 |
| |
2563 | 2562 |
| |
|
Lines changed: 4 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
659 | 659 |
| |
660 | 660 |
| |
661 | 661 |
| |
| 662 | + | |
| 663 | + | |
| 664 | + | |
| 665 | + | |
662 | 666 |
| |
663 | 667 |
| |
664 | 668 |
| |
|
Lines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
421 | 421 |
| |
422 | 422 |
| |
423 | 423 |
| |
| 424 | + | |
| 425 | + | |
| 426 | + | |
424 | 427 |
| |
425 | 428 |
| |
426 | 429 |
| |
|
0 commit comments
Comments
(0)