Skip to content

Commit f272098

Browse files
committed
Fix another bug in DSM_CREATE_NULL_IF_MAXSEGMENTS handling.
Amit Kapila
1 parent 4cd639b commit f272098

File tree

1 file changed

+1
-0
lines changed
  • src/backend/storage/ipc

1 file changed

+1
-0
lines changed

src/backend/storage/ipc/dsm.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -502,6 +502,7 @@ dsm_create(Size size, int flags)
502502
{
503503
if ((flags & DSM_CREATE_NULL_IF_MAXSEGMENTS) != 0)
504504
{
505+
LWLockRelease(DynamicSharedMemoryControlLock);
505506
dsm_impl_op(DSM_OP_DESTROY, seg->handle, 0, &seg->impl_private,
506507
&seg->mapped_address, &seg->mapped_size, WARNING);
507508
if (seg->resowner != NULL)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy