diff options
| author | Robert Haas | 2013-10-14 15:48:49 +0000 |
|---|---|---|
| committer | Robert Haas | 2013-10-14 15:48:49 +0000 |
| commit | e5158613676d940cf71ecfb5c73ac933746ac847 (patch) | |
| tree | 9081cdf5f17a64721fa4b1e11d8060cb8b3c7937 /src | |
| parent | 05a0283e7a48ffdca96cb6dd94fa5bae06e29bd1 (diff) | |
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
Diffstat (limited to 'src')
| -rw-r--r-- | src/backend/storage/ipc/dsm_impl.c | 4 |
1 files changed, 0 insertions, 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; } } |
