Fix compiler warning in EXEC_BACKEND builds.
authorRobert Haas <rhaas@postgresql.org>
Wed, 29 Jan 2014 04:35:50 +0000 (23:35 -0500)
committerRobert Haas <rhaas@postgresql.org>
Wed, 29 Jan 2014 04:35:50 +0000 (23:35 -0500)
Per a report by Rajeev Rastogi.

src/backend/postmaster/postmaster.c

index 52f87895a66ad01d154bbf5aff89c927111f32f7..5468eb1b7707a5b686eb618a0afacb659d1d98b9 100644 (file)
@@ -471,7 +471,7 @@ typedef struct
 #ifndef HAVE_SPINLOCKS
    PGSemaphore SpinlockSemaArray;
 #endif
-   LWLock     *MainLWLockArray;
+   LWLockPadded *MainLWLockArray;
    slock_t    *ProcStructLock;
    PROC_HDR   *ProcGlobal;
    PGPROC     *AuxiliaryProcs;