forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork0
Commitc3eda50
committed
Change internal queryid type from uint64 to int64
uint64 was perhaps chosen incff440d as the type was uint32 prior tothat widening work.Having this as uint64 doesn't make much sense and just adds the overhead ofhaving to remember that we always output this in its signed form. Let'sremove that overhead.The signed form output is seemingly required since we have no way torepresent the full range of uint64 in an SQL type. We use BIGINT in placeslike pg_stat_statements, which maps directly to int64.The release notes "Source Code" section may want to mention thisadjustment as some extensions may wish to adjust their code.Author: David Rowley <dgrowleyml@gmail.com>Suggested-by: Peter Eisentraut <peter@eisentraut.org>Reviewed-by: Sami Imseih <samimseih@gmail.com>Reviewed-by: Michael Paquier <michael@paquier.xyz>Discussion:https://postgr.es/m/50cb0c8b-994b-48f9-a1c4-13039eb3536b@eisentraut.org1 parent03c53a7 commitc3eda50
File tree
16 files changed
+73
-55
lines changed- contrib/pg_stat_statements
- src
- backend
- access
- brin
- nbtree
- commands
- nodes
- rewrite
- tcop
- utils
- activity
- adt
- include
- nodes
- utils
16 files changed
+73
-55
lines changedLines changed: 19 additions & 19 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
144 | 144 |
| |
145 | 145 |
| |
146 | 146 |
| |
147 |
| - | |
| 147 | + | |
148 | 148 |
| |
149 | 149 |
| |
150 | 150 |
| |
| |||
346 | 346 |
| |
347 | 347 |
| |
348 | 348 |
| |
349 |
| - | |
| 349 | + | |
350 | 350 |
| |
351 | 351 |
| |
352 | 352 |
| |
| |||
370 | 370 |
| |
371 | 371 |
| |
372 | 372 |
| |
373 |
| - | |
| 373 | + | |
374 | 374 |
| |
375 | 375 |
| |
376 | 376 |
| |
| |||
852 | 852 |
| |
853 | 853 |
| |
854 | 854 |
| |
855 |
| - | |
| 855 | + | |
856 | 856 |
| |
857 | 857 |
| |
858 | 858 |
| |
| |||
899 | 899 |
| |
900 | 900 |
| |
901 | 901 |
| |
902 |
| - | |
| 902 | + | |
903 | 903 |
| |
904 | 904 |
| |
905 | 905 |
| |
| |||
1002 | 1002 |
| |
1003 | 1003 |
| |
1004 | 1004 |
| |
1005 |
| - | |
| 1005 | + | |
1006 | 1006 |
| |
1007 | 1007 |
| |
1008 | 1008 |
| |
| |||
1068 | 1068 |
| |
1069 | 1069 |
| |
1070 | 1070 |
| |
1071 |
| - | |
| 1071 | + | |
1072 | 1072 |
| |
1073 |
| - | |
| 1073 | + | |
1074 | 1074 |
| |
1075 | 1075 |
| |
1076 | 1076 |
| |
| |||
1111 | 1111 |
| |
1112 | 1112 |
| |
1113 | 1113 |
| |
1114 |
| - | |
| 1114 | + | |
1115 | 1115 |
| |
1116 | 1116 |
| |
1117 | 1117 |
| |
| |||
1131 | 1131 |
| |
1132 | 1132 |
| |
1133 | 1133 |
| |
1134 |
| - | |
| 1134 | + | |
1135 | 1135 |
| |
1136 | 1136 |
| |
1137 | 1137 |
| |
| |||
1278 | 1278 |
| |
1279 | 1279 |
| |
1280 | 1280 |
| |
1281 |
| - | |
| 1281 | + | |
1282 | 1282 |
| |
1283 | 1283 |
| |
1284 | 1284 |
| |
| |||
1304 | 1304 |
| |
1305 | 1305 |
| |
1306 | 1306 |
| |
1307 |
| - | |
| 1307 | + | |
1308 | 1308 |
| |
1309 | 1309 |
| |
1310 | 1310 |
| |
| |||
1514 | 1514 |
| |
1515 | 1515 |
| |
1516 | 1516 |
| |
1517 |
| - | |
| 1517 | + | |
1518 | 1518 |
| |
1519 | 1519 |
| |
1520 | 1520 |
| |
1521 |
| - | |
| 1521 | + | |
1522 | 1522 |
| |
1523 | 1523 |
| |
1524 | 1524 |
| |
| |||
1530 | 1530 |
| |
1531 | 1531 |
| |
1532 | 1532 |
| |
1533 |
| - | |
| 1533 | + | |
1534 | 1534 |
| |
1535 | 1535 |
| |
1536 | 1536 |
| |
1537 | 1537 |
| |
1538 |
| - | |
| 1538 | + | |
1539 | 1539 |
| |
1540 | 1540 |
| |
1541 | 1541 |
| |
| |||
2671 | 2671 |
| |
2672 | 2672 |
| |
2673 | 2673 |
| |
2674 |
| - | |
| 2674 | + | |
2675 | 2675 |
| |
2676 | 2676 |
| |
2677 | 2677 |
| |
| |||
2691 | 2691 |
| |
2692 | 2692 |
| |
2693 | 2693 |
| |
2694 |
| - | |
| 2694 | + | |
2695 | 2695 |
| |
2696 | 2696 |
| |
2697 | 2697 |
| |
| |||
2714 | 2714 |
| |
2715 | 2715 |
| |
2716 | 2716 |
| |
2717 |
| - | |
| 2717 | + | |
2718 | 2718 |
| |
2719 | 2719 |
| |
2720 | 2720 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
68 | 68 |
| |
69 | 69 |
| |
70 | 70 |
| |
71 |
| - | |
| 71 | + | |
72 | 72 |
| |
73 | 73 |
| |
74 | 74 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
105 | 105 |
| |
106 | 106 |
| |
107 | 107 |
| |
108 |
| - | |
| 108 | + | |
109 | 109 |
| |
110 | 110 |
| |
111 | 111 |
| |
|
Lines changed: 2 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
811 | 811 |
| |
812 | 812 |
| |
813 | 813 |
| |
814 |
| - | |
| 814 | + | |
815 | 815 |
| |
816 | 816 |
| |
817 |
| - | |
818 |
| - | |
819 |
| - | |
820 |
| - | |
821 |
| - | |
| 817 | + | |
822 | 818 |
| |
823 | 819 |
| |
824 | 820 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
63 | 63 |
| |
64 | 64 |
| |
65 | 65 |
| |
66 |
| - | |
| 66 | + | |
67 | 67 |
| |
68 | 68 |
| |
69 | 69 |
| |
|
Lines changed: 5 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1039 | 1039 |
| |
1040 | 1040 |
| |
1041 | 1041 |
| |
| 1042 | + | |
| 1043 | + | |
| 1044 | + | |
| 1045 | + | |
| 1046 | + | |
1042 | 1047 |
| |
1043 | 1048 |
| |
1044 | 1049 |
| |
|
Lines changed: 6 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
51 | 51 |
| |
52 | 52 |
| |
53 | 53 |
| |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
54 | 60 |
| |
55 | 61 |
| |
56 | 62 |
| |
|
Lines changed: 11 additions & 11 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
56 | 56 |
| |
57 | 57 |
| |
58 | 58 |
| |
59 |
| - | |
| 59 | + | |
60 | 60 |
| |
61 | 61 |
| |
62 | 62 |
| |
| |||
141 | 141 |
| |
142 | 142 |
| |
143 | 143 |
| |
144 |
| - | |
| 144 | + | |
145 | 145 |
| |
146 | 146 |
| |
147 |
| - | |
| 147 | + | |
148 | 148 |
| |
149 |
| - | |
| 149 | + | |
150 | 150 |
| |
151 | 151 |
| |
152 | 152 |
| |
| |||
197 | 197 |
| |
198 | 198 |
| |
199 | 199 |
| |
200 |
| - | |
| 200 | + | |
201 | 201 |
| |
202 | 202 |
| |
203 | 203 |
| |
| |||
208 | 208 |
| |
209 | 209 |
| |
210 | 210 |
| |
211 |
| - | |
212 |
| - | |
213 |
| - | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
214 | 214 |
| |
215 | 215 |
| |
216 | 216 |
| |
| |||
256 | 256 |
| |
257 | 257 |
| |
258 | 258 |
| |
259 |
| - | |
| 259 | + | |
260 | 260 |
| |
261 |
| - | |
262 |
| - | |
| 261 | + | |
| 262 | + | |
263 | 263 |
| |
264 | 264 |
| |
265 | 265 |
| |
|
Lines changed: 6 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
68 | 68 |
| |
69 | 69 |
| |
70 | 70 |
| |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
71 | 77 |
| |
72 | 78 |
| |
73 | 79 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4544 | 4544 |
| |
4545 | 4545 |
| |
4546 | 4546 |
| |
4547 |
| - | |
| 4547 | + | |
4548 | 4548 |
| |
4549 | 4549 |
| |
4550 | 4550 |
| |
|
Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1682 | 1682 |
| |
1683 | 1683 |
| |
1684 | 1684 |
| |
1685 |
| - | |
| 1685 | + | |
1686 | 1686 |
| |
1687 | 1687 |
| |
1688 | 1688 |
| |
| |||
2174 | 2174 |
| |
2175 | 2175 |
| |
2176 | 2176 |
| |
2177 |
| - | |
| 2177 | + | |
2178 | 2178 |
| |
2179 | 2179 |
| |
2180 | 2180 |
| |
|
Lines changed: 6 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
320 | 320 |
| |
321 | 321 |
| |
322 | 322 |
| |
323 |
| - | |
| 323 | + | |
324 | 324 |
| |
325 | 325 |
| |
326 | 326 |
| |
| |||
599 | 599 |
| |
600 | 600 |
| |
601 | 601 |
| |
602 |
| - | |
| 602 | + | |
603 | 603 |
| |
604 | 604 |
| |
605 | 605 |
| |
| |||
662 | 662 |
| |
663 | 663 |
| |
664 | 664 |
| |
665 |
| - | |
| 665 | + | |
666 | 666 |
| |
667 | 667 |
| |
668 | 668 |
| |
| |||
683 | 683 |
| |
684 | 684 |
| |
685 | 685 |
| |
686 |
| - | |
| 686 | + | |
687 | 687 |
| |
688 | 688 |
| |
689 | 689 |
| |
| |||
702 | 702 |
| |
703 | 703 |
| |
704 | 704 |
| |
705 |
| - | |
| 705 | + | |
706 | 706 |
| |
707 | 707 |
| |
708 | 708 |
| |
| |||
1134 | 1134 |
| |
1135 | 1135 |
| |
1136 | 1136 |
| |
1137 |
| - | |
| 1137 | + | |
1138 | 1138 |
| |
1139 | 1139 |
| |
1140 | 1140 |
| |
|
Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
640 | 640 |
| |
641 | 641 |
| |
642 | 642 |
| |
643 |
| - | |
| 643 | + | |
644 | 644 |
| |
645 | 645 |
| |
646 |
| - | |
| 646 | + | |
647 | 647 |
| |
648 | 648 |
| |
649 | 649 |
| |
|
0 commit comments
Comments
(0)