From e5158613676d940cf71ecfb5c73ac933746ac847 Mon Sep 17 00:00:00 2001 From: Robert Haas Date: Mon, 14 Oct 2013 11:48:49 -0400 Subject: [PATCH] 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 --- src/backend/storage/ipc/dsm_impl.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/backend/storage/ipc/dsm_impl.c b/src/backend/storage/ipc/dsm_impl.c index 8e7273109b..9f1ea5b0f8 100644 --- a/src/backend/storage/ipc/dsm_impl.c +++ b/src/backend/storage/ipc/dsm_impl.c @@ -694,10 +694,6 @@ dsm_impl_windows(dsm_op op, dsm_handle handle, uint64 request_size, * modified. */ CloseHandle(hmap); - ereport(elevel, - (errcode_for_dynamic_shared_memory(), - errmsg("could not open shared memory segment \"%s\": %m", - name))); return false; } } -- 2.40.0