Commit bb5d6e8
committed
Improve the error message when creating an empty range partition.
The previous message didn't mention the name of the table or the
bounds. Put the table name in the primary error message and the
bounds in the detail message.
Amit Langote, changed slightly by me. Suggestions on the exac
phrasing from Tom Lane, David G. Johnston, and Dean Rasheed.
Discussion: http://postgr.es/m/CA+Tgmoae6bpwVa-1BMaVcwvCCeOoJ5B9Q9-RHWo-1gJxfPBZ5Q@mail.gmail.com1 parent c1ef4e5 commit bb5d6e8
File tree
4 files changed
+56
-45
lines changed- src
- backend
- catalog
- utils/adt
- include/utils
- test/regress/expected
4 files changed
+56
-45
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
722 | 722 | | |
723 | 723 | | |
724 | 724 | | |
| 725 | + | |
725 | 726 | | |
726 | 727 | | |
727 | | - | |
728 | | - | |
| 728 | + | |
| 729 | + | |
| 730 | + | |
| 731 | + | |
| 732 | + | |
| 733 | + | |
| 734 | + | |
729 | 735 | | |
730 | 736 | | |
731 | 737 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8722 | 8722 | | |
8723 | 8723 | | |
8724 | 8724 | | |
8725 | | - | |
8726 | | - | |
8727 | | - | |
8728 | | - | |
8729 | | - | |
8730 | | - | |
8731 | | - | |
8732 | | - | |
8733 | | - | |
8734 | | - | |
8735 | | - | |
8736 | | - | |
8737 | | - | |
8738 | | - | |
8739 | | - | |
8740 | | - | |
8741 | | - | |
8742 | | - | |
8743 | | - | |
8744 | | - | |
8745 | | - | |
8746 | | - | |
8747 | | - | |
8748 | | - | |
8749 | | - | |
8750 | | - | |
8751 | | - | |
8752 | | - | |
8753 | | - | |
8754 | | - | |
8755 | | - | |
8756 | | - | |
8757 | | - | |
8758 | | - | |
8759 | | - | |
8760 | | - | |
8761 | | - | |
8762 | | - | |
8763 | | - | |
8764 | | - | |
8765 | | - | |
| 8725 | + | |
| 8726 | + | |
| 8727 | + | |
8766 | 8728 | | |
8767 | 8729 | | |
8768 | 8730 | | |
| |||
10943 | 10905 | | |
10944 | 10906 | | |
10945 | 10907 | | |
| 10908 | + | |
| 10909 | + | |
| 10910 | + | |
| 10911 | + | |
| 10912 | + | |
| 10913 | + | |
| 10914 | + | |
| 10915 | + | |
| 10916 | + | |
| 10917 | + | |
| 10918 | + | |
| 10919 | + | |
| 10920 | + | |
| 10921 | + | |
| 10922 | + | |
| 10923 | + | |
| 10924 | + | |
| 10925 | + | |
| 10926 | + | |
| 10927 | + | |
| 10928 | + | |
| 10929 | + | |
| 10930 | + | |
| 10931 | + | |
| 10932 | + | |
| 10933 | + | |
| 10934 | + | |
| 10935 | + | |
| 10936 | + | |
| 10937 | + | |
| 10938 | + | |
| 10939 | + | |
| 10940 | + | |
| 10941 | + | |
| 10942 | + | |
| 10943 | + | |
| 10944 | + | |
| 10945 | + | |
| 10946 | + | |
| 10947 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
36 | 37 | | |
37 | 38 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
567 | 567 | | |
568 | 568 | | |
569 | 569 | | |
570 | | - | |
| 570 | + | |
| 571 | + | |
571 | 572 | | |
572 | 573 | | |
573 | | - | |
| 574 | + | |
| 575 | + | |
574 | 576 | | |
575 | 577 | | |
576 | 578 | | |
| |||
0 commit comments