aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2013-10-14 11:48:49 -0400
committerRobert Haas <rhaas@postgresql.org>2013-10-14 11:48:49 -0400
commite5158613676d940cf71ecfb5c73ac933746ac847 (patch)
tree9081cdf5f17a64721fa4b1e11d8060cb8b3c7937
parent05a0283e7a48ffdca96cb6dd94fa5bae06e29bd1 (diff)
downloadpostgresql-e5158613676d940cf71ecfb5c73ac933746ac847.tar.gz
postgresql-e5158613676d940cf71ecfb5c73ac933746ac847.zip
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
-rw-r--r--src/backend/storage/ipc/dsm_impl.c4
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 8e7273109b0..9f1ea5b0f84 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;
}
}