Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
artemgavrilov committed Jul 3, 2024
1 parent 985f68b commit 7286609
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pg_stat_monitor.c
Original file line number Diff line number Diff line change
Expand Up @@ -1261,7 +1261,7 @@ pg_get_backend_status(void)

#if PG_VERSION_NUM >= 170000
return &(pgstat_get_beentry_by_proc_number(MyProcPid)->backendStatus);
#elif PG_VERSION_NUL >= 160000
#elif PG_VERSION_NUM >= 160000
return &(pgstat_get_local_beentry_by_backend_id(MyBackendId)->backendStatus);
#else
LocalPgBackendStatus *local_beentry;
Expand Down

0 comments on commit 7286609

Please sign in to comment.