Skip to content

Commit e515861

Browse files
committed
In dsm_impl_windows, don't error out when the segment already exists.
This is the behavior of the other implementations, and the behavior expected by the callers of this function. Amit Kapila
1 parent 05a0283 commit e515861

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/backend/storage/ipc/dsm_impl.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -694,10 +694,6 @@ dsm_impl_windows(dsm_op op, dsm_handle handle, uint64 request_size,
694694
* modified.
695695
*/
696696
CloseHandle(hmap);
697-
ereport(elevel,
698-
(errcode_for_dynamic_shared_memory(),
699-
errmsg("could not open shared memory segment \"%s\": %m",
700-
name)));
701697
return false;
702698
}
703699
}

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