You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
pg_query_state.c: In function ‘pg_query_state’:
pg_query_state.c:615:66: warning: declaration of ‘msg’ shadows a previous local
[-Wshadow=compatible-local]
615 | shm_mq_msg *msg =
(shm_mq_msg *) lfirst(i);
| ^~~
pg_query_state.c:489:42: note: shadowed declaration is here
489 | shm_mq_msg *msg;
| ^~~
pg_query_state.c: In function ‘GetRemoteBackendWorkers’:
pg_query_state.c:946:25: warning: declaration of ‘proc’ shadows a parameter
[-Wshadow=compatible-local]
946 | PGPROC *proc = BackendPidGetProc(pid);
| ^~~~
pg_query_state.c:913:33: note: shadowed declaration is here
913 | GetRemoteBackendWorkers(PGPROC *proc)
| ~~~~~~~~^~~~
0 commit comments