summaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/pgstatfuncs.c
diff options
context:
space:
mode:
authorAndres Freund2022-04-07 06:35:56 +0000
committerAndres Freund2022-04-07 06:35:56 +0000
commit81ae9e65887476b4c55aaad276a8010a459a41ce (patch)
treea45d952ff14f92ce4e6b5ff84c05c350b9635ea6 /src/backend/utils/adt/pgstatfuncs.c
parent3536b851adb275e2f49a80030111e84abc0736ba (diff)
pgstat: prevent fix pgstat_reinit_entry() from zeroing out lwlock.
Zeroing out an lwlock in a normal build turns out to not trigger any alarms, if nobody can use the lwlock at that moment (as the case here). But with --disable-spinlocks --disable-atomics, the sema field needs to be initialized. We probably should make sure that this fails on more common configurations as well... Per buildfarm animal rorqual
Diffstat (limited to 'src/backend/utils/adt/pgstatfuncs.c')
0 files changed, 0 insertions, 0 deletions