Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
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

-4
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)