Explicitly ignore guaranteed-true result from pgstat_lock_entry().
Tom Lane <tgl@sss.pgh.pa.us>
Explicitly ignore guaranteed-true result from pgstat_lock_entry(). With nowait passed as false, pgstat_lock_entry() must return true so there's no need to check its result. Coverity seems unconvinced of this, so whack it upside the head with a (void) cast.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/utils/activity/pgstat_shmem.c | modified | +1 −1 |