mirror of
https://github.com/postgres/postgres.git
synced 2025-07-02 09:02:37 +03:00
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
This commit is contained in:
@ -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;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user