projects
/
users
/
rhaas
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
05a0283
)
In dsm_impl_windows, don't error out when the segment already exists.
author
Robert Haas
<rhaas@postgresql.org>
Mon, 14 Oct 2013 15:48:49 +0000
(11:48 -0400)
committer
Robert Haas
<rhaas@postgresql.org>
Mon, 14 Oct 2013 15:48:49 +0000
(11:48 -0400)
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
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/storage/ipc/dsm_impl.c
b/src/backend/storage/ipc/dsm_impl.c
index 8e7273109b0d6b777e924de58c4e56b585d7d786..9f1ea5b0f8444e6221073c7999e4a92cad5e84e8 100644
(file)
--- 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;
}
}