forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit6cf86f4
committed
Change internal integer representation of Value node
A Value node would store an integer as a long. This causes needlessportability risks, as long can be of varying sizes. Change it to useint instead. All code using this was already careful to only store32-bit values anyway.Reviewed-by: Michael Paquier <michael@paquier.xyz>1 parent377b5ac commit6cf86f4
7 files changed
+17
-27
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3235 | 3235 |
| |
3236 | 3236 |
| |
3237 | 3237 |
| |
3238 |
| - | |
| 3238 | + | |
3239 | 3239 |
| |
3240 | 3240 |
| |
3241 | 3241 |
| |
|
Lines changed: 5 additions & 9 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
224 | 224 |
| |
225 | 225 |
| |
226 | 226 |
| |
227 |
| - | |
228 |
| - | |
229 |
| - | |
230 |
| - | |
231 |
| - | |
232 |
| - | |
233 |
| - | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
234 | 230 |
| |
235 | 231 |
| |
236 | 232 |
| |
| |||
387 | 383 |
| |
388 | 384 |
| |
389 | 385 |
| |
390 |
| - | |
| 386 | + | |
391 | 387 |
| |
392 |
| - | |
| 388 | + | |
393 | 389 |
| |
394 | 390 |
| |
395 | 391 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
20 | 20 |
| |
21 | 21 |
| |
22 | 22 |
| |
23 |
| - | |
| 23 | + | |
24 | 24 |
| |
25 | 25 |
| |
26 | 26 |
| |
|
Lines changed: 3 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1216 | 1216 |
| |
1217 | 1217 |
| |
1218 | 1218 |
| |
1219 |
| - | |
1220 |
| - | |
1221 |
| - | |
1222 |
| - | |
1223 |
| - | |
1224 |
| - | |
| 1219 | + | |
| 1220 | + | |
| 1221 | + | |
1225 | 1222 |
| |
1226 | 1223 |
| |
1227 | 1224 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
6913 | 6913 |
| |
6914 | 6914 |
| |
6915 | 6915 |
| |
6916 |
| - | |
| 6916 | + | |
6917 | 6917 |
| |
6918 | 6918 |
| |
6919 | 6919 |
| |
|
Lines changed: 3 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
34 | 34 |
| |
35 | 35 |
| |
36 | 36 |
| |
37 |
| - | |
| 37 | + | |
38 | 38 |
| |
39 | 39 |
| |
40 | 40 |
| |
| |||
44 | 44 |
| |
45 | 45 |
| |
46 | 46 |
| |
47 |
| - | |
| 47 | + | |
48 | 48 |
| |
49 | 49 |
| |
50 | 50 |
| |
| |||
53 | 53 |
| |
54 | 54 |
| |
55 | 55 |
| |
56 |
| - | |
| 56 | + | |
57 | 57 |
| |
58 | 58 |
| |
59 | 59 |
| |
|
Lines changed: 3 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
732 | 732 |
| |
733 | 733 |
| |
734 | 734 |
| |
735 |
| - | |
736 |
| - | |
737 |
| - | |
738 |
| - | |
739 |
| - | |
740 |
| - | |
| 735 | + | |
| 736 | + | |
| 737 | + | |
741 | 738 |
| |
742 | 739 |
| |
743 | 740 |
| |
|
0 commit comments
Comments
(0)