forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit35960cf
Fix incorrect uses of Datum conversion macros
Since these macros just cast whatever you give them to the designatedoutput type, and many normal uses also cast the output type further, anumber of incorrect uses go undiscovered. The fixes in this patchhave been discovered by changing these macros to inline functions,which is the subject of a future patch.Reviewed-by: Aleksander Alekseev <aleksander@timescale.com>Discussion:https://www.postgresql.org/message-id/flat/8528fb7e-0aa2-6b54-85fb-0c0886dbd6ed%40enterprisedb.com1 parent93ef183 commit35960cf
File tree
22 files changed
+33
-33
lines changed- contrib
- btree_gist
- dblink
- hstore
- pageinspect
- src
- backend
- access
- brin
- common
- table
- transam
- statistics
- utils
- adt
- resowner
- pl/plperl
22 files changed
+33
-33
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
153 | 153 |
| |
154 | 154 |
| |
155 | 155 |
| |
156 |
| - | |
| 156 | + | |
157 | 157 |
| |
158 | 158 |
| |
159 | 159 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1336 | 1336 |
| |
1337 | 1337 |
| |
1338 | 1338 |
| |
1339 |
| - | |
| 1339 | + | |
1340 | 1340 |
| |
1341 | 1341 |
| |
1342 | 1342 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1064 | 1064 |
| |
1065 | 1065 |
| |
1066 | 1066 |
| |
1067 |
| - | |
| 1067 | + | |
1068 | 1068 |
| |
1069 | 1069 |
| |
1070 | 1070 |
| |
|
Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
383 | 383 |
| |
384 | 384 |
| |
385 | 385 |
| |
386 |
| - | |
| 386 | + | |
387 | 387 |
| |
388 | 388 |
| |
389 | 389 |
| |
| |||
492 | 492 |
| |
493 | 493 |
| |
494 | 494 |
| |
495 |
| - | |
| 495 | + | |
496 | 496 |
| |
497 | 497 |
| |
498 | 498 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
767 | 767 |
| |
768 | 768 |
| |
769 | 769 |
| |
770 |
| - | |
| 770 | + | |
771 | 771 |
| |
772 | 772 |
| |
773 | 773 |
| |
|
Lines changed: 6 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
774 | 774 |
| |
775 | 775 |
| |
776 | 776 |
| |
777 |
| - | |
778 |
| - | |
| 777 | + | |
| 778 | + | |
779 | 779 |
| |
780 | 780 |
| |
781 | 781 |
| |
782 |
| - | |
| 782 | + | |
783 | 783 |
| |
784 | 784 |
| |
785 | 785 |
| |
| |||
3033 | 3033 |
| |
3034 | 3034 |
| |
3035 | 3035 |
| |
3036 |
| - | |
| 3036 | + | |
3037 | 3037 |
| |
3038 | 3038 |
| |
3039 | 3039 |
| |
| |||
3081 | 3081 |
| |
3082 | 3082 |
| |
3083 | 3083 |
| |
3084 |
| - | |
| 3084 | + | |
3085 | 3085 |
| |
3086 | 3086 |
| |
3087 | 3087 |
| |
| |||
3121 | 3121 |
| |
3122 | 3122 |
| |
3123 | 3123 |
| |
3124 |
| - | |
| 3124 | + | |
3125 | 3125 |
| |
3126 | 3126 |
| |
3127 | 3127 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
44 | 44 |
| |
45 | 45 |
| |
46 | 46 |
| |
47 |
| - | |
| 47 | + | |
48 | 48 |
| |
49 | 49 |
| |
50 | 50 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
330 | 330 |
| |
331 | 331 |
| |
332 | 332 |
| |
333 |
| - | |
| 333 | + | |
334 | 334 |
| |
335 | 335 |
| |
336 | 336 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
555 | 555 |
| |
556 | 556 |
| |
557 | 557 |
| |
558 |
| - | |
| 558 | + | |
559 | 559 |
| |
560 | 560 |
| |
561 | 561 |
| |
|
Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1444 | 1444 |
| |
1445 | 1445 |
| |
1446 | 1446 |
| |
1447 |
| - | |
1448 |
| - | |
| 1447 | + | |
| 1448 | + | |
1449 | 1449 |
| |
1450 | 1450 |
| |
1451 | 1451 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
466 | 466 |
| |
467 | 467 |
| |
468 | 468 |
| |
469 |
| - | |
| 469 | + | |
470 | 470 |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1491 | 1491 |
| |
1492 | 1492 |
| |
1493 | 1493 |
| |
1494 |
| - | |
| 1494 | + | |
1495 | 1495 |
| |
1496 | 1496 |
| |
1497 | 1497 |
| |
|
Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
271 | 271 |
| |
272 | 272 |
| |
273 | 273 |
| |
274 |
| - | |
| 274 | + | |
275 | 275 |
| |
276 | 276 |
| |
277 | 277 |
| |
| |||
305 | 305 |
| |
306 | 306 |
| |
307 | 307 |
| |
308 |
| - | |
| 308 | + | |
309 | 309 |
| |
310 | 310 |
| |
311 | 311 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1119 | 1119 |
| |
1120 | 1120 |
| |
1121 | 1121 |
| |
1122 |
| - | |
| 1122 | + | |
1123 | 1123 |
| |
1124 | 1124 |
| |
1125 | 1125 |
| |
|
Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
416 | 416 |
| |
417 | 417 |
| |
418 | 418 |
| |
419 |
| - | |
| 419 | + | |
420 | 420 |
| |
421 | 421 |
| |
422 | 422 |
| |
| |||
557 | 557 |
| |
558 | 558 |
| |
559 | 559 |
| |
560 |
| - | |
| 560 | + | |
561 | 561 |
| |
562 | 562 |
| |
563 | 563 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1757 | 1757 |
| |
1758 | 1758 |
| |
1759 | 1759 |
| |
1760 |
| - | |
| 1760 | + | |
1761 | 1761 |
| |
1762 | 1762 |
| |
1763 | 1763 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
102 | 102 |
| |
103 | 103 |
| |
104 | 104 |
| |
105 |
| - | |
| 105 | + | |
106 | 106 |
| |
107 | 107 |
| |
108 | 108 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
148 | 148 |
| |
149 | 149 |
| |
150 | 150 |
| |
151 |
| - | |
| 151 | + | |
152 | 152 |
| |
153 | 153 |
| |
154 | 154 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4779 | 4779 |
| |
4780 | 4780 |
| |
4781 | 4781 |
| |
4782 |
| - | |
| 4782 | + | |
4783 | 4783 |
| |
4784 | 4784 |
| |
4785 | 4785 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4174 | 4174 |
| |
4175 | 4175 |
| |
4176 | 4176 |
| |
4177 |
| - | |
| 4177 | + | |
4178 | 4178 |
| |
4179 | 4179 |
| |
4180 | 4180 |
| |
|
Lines changed: 3 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
557 | 557 |
| |
558 | 558 |
| |
559 | 559 |
| |
560 |
| - | |
| 560 | + | |
561 | 561 |
| |
562 | 562 |
| |
563 | 563 |
| |
| |||
566 | 566 |
| |
567 | 567 |
| |
568 | 568 |
| |
569 |
| - | |
| 569 | + | |
570 | 570 |
| |
571 | 571 |
| |
572 | 572 |
| |
| |||
576 | 576 |
| |
577 | 577 |
| |
578 | 578 |
| |
579 |
| - | |
| 579 | + | |
580 | 580 |
| |
581 | 581 |
| |
582 | 582 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1848 | 1848 |
| |
1849 | 1849 |
| |
1850 | 1850 |
| |
1851 |
| - | |
| 1851 | + | |
1852 | 1852 |
| |
1853 | 1853 |
| |
1854 | 1854 |
| |
|
0 commit comments
Comments
(0)