- Notifications
You must be signed in to change notification settings - Fork58
Commitd387682


Marina Polyakova
Maxim Orlov
Fix compiler warnings due to new checks in PostgreSQL 16
See the commit 0fe954c28584169938e5c0738cfaa9930ce77577 (Add-Wshadow=compatible-local to the standard compilation flags) in PostgreSQL 16.src/ruminsert.c: In function ‘rumHeapTupleBulkInsert’:src/ruminsert.c:533:51: warning: declaration of ‘attr’ shadows a previous local[-Wshadow=compatible-local] 533 | Form_pg_attribute attr =RumTupleDescAttr( | ^~~~src/ruminsert.c:505:27: note: shadowed declaration is here 505 | Form_pg_attribute attr = buildstate->rumstate.addAttrs[attnum- 1]; | ^~~~src/rumget.c: In function ‘startScanEntry’:src/rumget.c:635:41: warning: declaration of ‘page’ shadows a previous local[-Wshadow=compatible-local] 635 | Page page; | ^~~~src/rumget.c:548:25: note: shadowed declaration is here 548 | Page page; | ^~~~src/rumget.c: In function ‘entryGetNextItemList’:src/rumget.c:1054:33: warning: declaration of ‘page’ shadows a previous local[-Wshadow=compatible-local] 1054 | Page page; | ^~~~src/rumget.c:986:25: note: shadowed declaration is here 986 | Page page; | ^~~~1 parentbfd9eba commitd387682
2 files changed
+2
-4
lines changedLines changed: 0 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
632 | 632 |
| |
633 | 633 |
| |
634 | 634 |
| |
635 |
| - | |
636 | 635 |
| |
637 | 636 |
| |
638 | 637 |
| |
| |||
1051 | 1050 |
| |
1052 | 1051 |
| |
1053 | 1052 |
| |
1054 |
| - | |
1055 | 1053 |
| |
1056 | 1054 |
| |
1057 | 1055 |
| |
|
Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
530 | 530 |
| |
531 | 531 |
| |
532 | 532 |
| |
533 |
| - | |
| 533 | + | |
534 | 534 |
| |
535 | 535 |
| |
536 | 536 |
| |
537 |
| - | |
| 537 | + | |
538 | 538 |
| |
539 | 539 |
| |
540 | 540 |
| |
|
0 commit comments
Comments
(0)