forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitfc0d9b8
committed
Disallow negative strides in date_bin()
It's not clear what the semantics of negative strides would be, so throwan error instead.Per report from Bauyrzhan SakhariyevReviewed-by: Tom Lane, Michael PaquierDiscussion:https://www.postgresql.org/message-id/CAKpL73vZmLuFVuwF26FJ%2BNk11PVHhAnQRoREFcA03x7znRoFvA%40mail.gmail.comBackpatch to v141 parent5a8a9be commitfc0d9b8
File tree
6 files changed
+20
-12
lines changed- doc/src/sgml
- src
- backend/utils/adt
- test/regress
- expected
- sql
6 files changed
+20
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10008 | 10008 | | |
10009 | 10009 | | |
10010 | 10010 | | |
10011 | | - | |
10012 | | - | |
10013 | | - | |
10014 | | - | |
10015 | | - | |
10016 | | - | |
| 10011 | + | |
| 10012 | + | |
10017 | 10013 | | |
10018 | 10014 | | |
10019 | 10015 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3843 | 3843 | | |
3844 | 3844 | | |
3845 | 3845 | | |
3846 | | - | |
| 3846 | + | |
3847 | 3847 | | |
3848 | 3848 | | |
3849 | | - | |
| 3849 | + | |
3850 | 3850 | | |
3851 | 3851 | | |
3852 | 3852 | | |
| |||
4026 | 4026 | | |
4027 | 4027 | | |
4028 | 4028 | | |
4029 | | - | |
| 4029 | + | |
4030 | 4030 | | |
4031 | 4031 | | |
4032 | | - | |
| 4032 | + | |
4033 | 4033 | | |
4034 | 4034 | | |
4035 | 4035 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
706 | 706 | | |
707 | 707 | | |
708 | 708 | | |
709 | | - | |
| 709 | + | |
| 710 | + | |
| 711 | + | |
| 712 | + | |
710 | 713 | | |
711 | 714 | | |
712 | 715 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
750 | 750 | | |
751 | 751 | | |
752 | 752 | | |
753 | | - | |
| 753 | + | |
| 754 | + | |
| 755 | + | |
| 756 | + | |
754 | 757 | | |
755 | 758 | | |
756 | 759 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
266 | 266 | | |
267 | 267 | | |
268 | 268 | | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
269 | 272 | | |
270 | 273 | | |
271 | 274 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
241 | 241 | | |
242 | 242 | | |
243 | 243 | | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
244 | 247 | | |
245 | 248 | | |
246 | 249 | | |
| |||
0 commit comments
Comments
(0)