On 30/07/2024 14:03, Thomas Munro wrote:
Remove --disable-spinlocks.
Sorry, spotted this only now:
--- a/src/backend/postmaster/launch_backend.c
+++ b/src/backend/postmaster/launch_backend.c
@@ -108,9 +108,7 @@ typedef struct
#ifdef USE_INJECTION_POINTS
struct InjectionPointsCtl *ActiveInjectionPoints;
#endif
-#ifndef HAVE_SPINLOCKS
PGSemaphore *SpinlockSemaArray;
-#endif
int NamedLWLockTrancheRequests;
NamedLWLockTranche *NamedLWLockTrancheArray;
LWLockPadded *MainLWLockArray;
The SpinLockSemaArray field should be completely completely, nut just
the #ifndef guard around it.
--
Heikki Linnakangas
Neon (https://neon.tech)