forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitefbfb64
committed
Improve new hash partition bound check error messages
For the error message "every hash partition modulus must be a factorof the next larger modulus", add a detail message that shows theparticular numbers and existing partition involved. Also comment thecode more.Reviewed-by: Amit Langote <amitlangote09@gmail.com>Reviewed-by: Heikki Linnakangas <hlinnaka@iki.fi>Discussion:https://www.postgresql.org/message-id/flat/bb9d60b4-aadb-607a-1a9d-fdc3434dddcd%40enterprisedb.com1 parent9294264 commitefbfb64
File tree
3 files changed
+47
-18
lines changed- src
- backend/partitioning
- test/regress/expected
3 files changed
+47
-18
lines changedLines changed: 44 additions & 18 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2832 | 2832 |
| |
2833 | 2833 |
| |
2834 | 2834 |
| |
2835 |
| - | |
2836 |
| - | |
2837 | 2835 |
| |
2838 | 2836 |
| |
2839 | 2837 |
| |
2840 |
| - | |
2841 |
| - | |
2842 |
| - | |
2843 | 2838 |
| |
2844 | 2839 |
| |
2845 | 2840 |
| |
| |||
2849 | 2844 |
| |
2850 | 2845 |
| |
2851 | 2846 |
| |
2852 |
| - | |
| 2847 | + | |
| 2848 | + | |
| 2849 | + | |
2853 | 2850 |
| |
2854 | 2851 |
| |
2855 | 2852 |
| |
| |||
2859 | 2856 |
| |
2860 | 2857 |
| |
2861 | 2858 |
| |
2862 |
| - | |
2863 |
| - | |
| 2859 | + | |
| 2860 | + | |
| 2861 | + | |
| 2862 | + | |
| 2863 | + | |
| 2864 | + | |
| 2865 | + | |
| 2866 | + | |
| 2867 | + | |
| 2868 | + | |
| 2869 | + | |
| 2870 | + | |
| 2871 | + | |
| 2872 | + | |
| 2873 | + | |
2864 | 2874 |
| |
2865 | 2875 |
| |
2866 | 2876 |
| |
2867 |
| - | |
2868 |
| - | |
| 2877 | + | |
| 2878 | + | |
| 2879 | + | |
| 2880 | + | |
| 2881 | + | |
| 2882 | + | |
| 2883 | + | |
| 2884 | + | |
| 2885 | + | |
| 2886 | + | |
| 2887 | + | |
| 2888 | + | |
| 2889 | + | |
2869 | 2890 |
| |
2870 |
| - | |
| 2891 | + | |
2871 | 2892 |
| |
2872 |
| - | |
2873 |
| - | |
| 2893 | + | |
| 2894 | + | |
| 2895 | + | |
| 2896 | + | |
| 2897 | + | |
| 2898 | + | |
| 2899 | + | |
| 2900 | + | |
| 2901 | + | |
| 2902 | + | |
| 2903 | + | |
| 2904 | + | |
2874 | 2905 |
| |
2875 | 2906 |
| |
2876 | 2907 |
| |
2877 |
| - | |
2878 |
| - | |
2879 |
| - | |
2880 |
| - | |
2881 |
| - | |
2882 | 2908 |
| |
2883 | 2909 |
| |
2884 | 2910 |
| |
|
Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4109 | 4109 |
| |
4110 | 4110 |
| |
4111 | 4111 |
| |
| 4112 | + | |
4112 | 4113 |
| |
4113 | 4114 |
| |
4114 | 4115 |
| |
|
Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
783 | 783 |
| |
784 | 784 |
| |
785 | 785 |
| |
| 786 | + | |
786 | 787 |
| |
787 | 788 |
| |
788 | 789 |
| |
| 790 | + | |
789 | 791 |
| |
790 | 792 |
| |
791 | 793 |
| |
|
0 commit comments
Comments
(0)