diff options
Diffstat (limited to 'src/backend/storage/ipc/ipci.c')
| -rw-r--r-- | src/backend/storage/ipc/ipci.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/backend/storage/ipc/ipci.c b/src/backend/storage/ipc/ipci.c index cc219237097..2e717457b12 100644 --- a/src/backend/storage/ipc/ipci.c +++ b/src/backend/storage/ipc/ipci.c @@ -182,8 +182,7 @@ CreateSharedMemoryAndSemaphores(bool makePrivate, int port) * Now initialize LWLocks, which do shared memory allocation and are * needed for InitShmemIndex. */ - if (!IsUnderPostmaster) - CreateLWLocks(); + CreateLWLocks(); /* * Set up shmem.c index hashtable |
