Commit 4b7b9a79 authored by Robert Haas's avatar Robert Haas

Fix incorrect use of shm_unlink where unlink should be used.

Per buildfarm.
parent 264aa14a
...@@ -864,7 +864,7 @@ dsm_impl_mmap(dsm_op op, dsm_handle handle, uint64 request_size, ...@@ -864,7 +864,7 @@ dsm_impl_mmap(dsm_op op, dsm_handle handle, uint64 request_size,
save_errno = errno; save_errno = errno;
close(fd); close(fd);
if (op == DSM_OP_CREATE) if (op == DSM_OP_CREATE)
shm_unlink(name); unlink(name);
errno = save_errno; errno = save_errno;
ereport(elevel, ereport(elevel,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment