- Notifications
You must be signed in to change notification settings - Fork4.9k
Commitfbb2e9a
committed
Fix assorted compiler warnings seen in the buildfarm.
Failure to use DatumGetFoo/FooGetDatum macros correctly, or at all,causes some warnings about sign conversion. This is just cosmeticat the moment but in principle it's a type violation, so clean upthe instances I could find.autoprewarm.c and sharedfileset.c contained code that unportablyassumed that pid_t is the same size as int. We've variously dealtwith this by casting pid_t to int or to unsigned long for printingpurposes; I went with the latter.Fix uninitialized-variable warning in RestoreGUCState. This isa live bug in some sense, but of no great significance given thatnobody is very likely to care what "line number" is associated witha GUC that hasn't got a source file recorded.1 parent447dbf7 commitfbb2e9a
File tree
8 files changed
+54
-36
lines changed- contrib
- hstore
- jsonb_plpython
- pg_prewarm
- src/backend
- storage/file
- utils
- adt
- misc
8 files changed
+54
-36
lines changedLines changed: 7 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1462 | 1462 |
| |
1463 | 1463 |
| |
1464 | 1464 |
| |
| 1465 | + | |
| 1466 | + | |
1465 | 1467 |
| |
1466 |
| - | |
1467 |
| - | |
1468 |
| - | |
| 1468 | + | |
| 1469 | + | |
| 1470 | + | |
| 1471 | + | |
| 1472 | + | |
1469 | 1473 |
| |
1470 | 1474 |
| |
1471 | 1475 |
| |
|
Lines changed: 7 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
325 | 325 |
| |
326 | 326 |
| |
327 | 327 |
| |
328 |
| - | |
329 |
| - | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
330 | 335 |
| |
331 | 336 |
| |
332 | 337 |
| |
|
Lines changed: 10 additions & 10 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
180 | 180 |
| |
181 | 181 |
| |
182 | 182 |
| |
183 |
| - | |
184 |
| - | |
| 183 | + | |
| 184 | + | |
185 | 185 |
| |
186 | 186 |
| |
187 | 187 |
| |
| |||
290 | 290 |
| |
291 | 291 |
| |
292 | 292 |
| |
293 |
| - | |
294 |
| - | |
| 293 | + | |
| 294 | + | |
295 | 295 |
| |
296 | 296 |
| |
297 | 297 |
| |
| |||
580 | 580 |
| |
581 | 581 |
| |
582 | 582 |
| |
583 |
| - | |
584 |
| - | |
| 583 | + | |
| 584 | + | |
585 | 585 |
| |
586 | 586 |
| |
587 |
| - | |
588 |
| - | |
| 587 | + | |
| 588 | + | |
589 | 589 |
| |
590 | 590 |
| |
591 | 591 |
| |
| |||
717 | 717 |
| |
718 | 718 |
| |
719 | 719 |
| |
720 |
| - | |
721 |
| - | |
| 720 | + | |
| 721 | + | |
722 | 722 |
| |
723 | 723 |
| |
724 | 724 |
| |
|
Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
214 | 214 |
| |
215 | 215 |
| |
216 | 216 |
| |
217 |
| - | |
| 217 | + | |
218 | 218 |
| |
219 |
| - | |
| 219 | + | |
220 | 220 |
| |
221 | 221 |
| |
222 | 222 |
| |
|
Lines changed: 13 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
343 | 343 |
| |
344 | 344 |
| |
345 | 345 |
| |
| 346 | + | |
346 | 347 |
| |
347 | 348 |
| |
348 | 349 |
| |
| |||
361 | 362 |
| |
362 | 363 |
| |
363 | 364 |
| |
364 |
| - | |
365 |
| - | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
366 | 370 |
| |
367 | 371 |
| |
368 | 372 |
| |
369 | 373 |
| |
370 |
| - | |
371 | 374 |
| |
372 | 375 |
| |
373 | 376 |
| |
374 | 377 |
| |
375 |
| - | |
376 | 378 |
| |
377 | 379 |
| |
378 | 380 |
| |
| |||
772 | 774 |
| |
773 | 775 |
| |
774 | 776 |
| |
775 |
| - | |
776 |
| - | |
| 777 | + | |
777 | 778 |
| |
| 779 | + | |
| 780 | + | |
| 781 | + | |
| 782 | + | |
| 783 | + | |
| 784 | + | |
778 | 785 |
| |
779 | 786 |
| |
780 | 787 |
| |
|
Lines changed: 12 additions & 12 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3818 | 3818 |
| |
3819 | 3819 |
| |
3820 | 3820 |
| |
3821 |
| - | |
3822 |
| - | |
| 3821 | + | |
| 3822 | + | |
3823 | 3823 |
| |
3824 | 3824 |
| |
3825 | 3825 |
| |
| |||
3941 | 3941 |
| |
3942 | 3942 |
| |
3943 | 3943 |
| |
3944 |
| - | |
3945 |
| - | |
| 3944 | + | |
| 3945 | + | |
3946 | 3946 |
| |
3947 | 3947 |
| |
3948 | 3948 |
| |
3949 | 3949 |
| |
3950 | 3950 |
| |
3951 | 3951 |
| |
3952 |
| - | |
3953 |
| - | |
| 3952 | + | |
| 3953 | + | |
3954 | 3954 |
| |
3955 | 3955 |
| |
3956 | 3956 |
| |
| |||
4340 | 4340 |
| |
4341 | 4341 |
| |
4342 | 4342 |
| |
4343 |
| - | |
4344 |
| - | |
| 4343 | + | |
| 4344 | + | |
4345 | 4345 |
| |
4346 | 4346 |
| |
4347 | 4347 |
| |
4348 | 4348 |
| |
4349 |
| - | |
4350 |
| - | |
| 4349 | + | |
| 4350 | + | |
4351 | 4351 |
| |
4352 | 4352 |
| |
4353 | 4353 |
| |
| |||
4550 | 4550 |
| |
4551 | 4551 |
| |
4552 | 4552 |
| |
4553 |
| - | |
4554 |
| - | |
| 4553 | + | |
| 4554 | + | |
4555 | 4555 |
| |
4556 | 4556 |
| |
4557 | 4557 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
813 | 813 |
| |
814 | 814 |
| |
815 | 815 |
| |
816 |
| - | |
| 816 | + | |
817 | 817 |
| |
818 | 818 |
| |
819 | 819 |
| |
|
Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
9610 | 9610 |
| |
9611 | 9611 |
| |
9612 | 9612 |
| |
| 9613 | + | |
| 9614 | + | |
9613 | 9615 |
| |
9614 | 9616 |
| |
9615 | 9617 |
| |
|
0 commit comments
Comments
(0)