forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit81ae9e6
committed
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 aswell...Per buildfarm animal rorqual1 parent3536b85 commit81ae9e6
1 file changed
+2
-2
lines changedLines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
292 | 292 |
| |
293 | 293 |
| |
294 | 294 |
| |
295 |
| - | |
296 |
| - | |
| 295 | + | |
| 296 | + | |
297 | 297 |
| |
298 | 298 |
| |
299 | 299 |
| |
|
0 commit comments
Comments
(0)