mirror of
https://github.com/postgres/postgres.git
synced 2025-04-27 22:56:53 +03:00
Fix incorrect use of shm_unlink where unlink should be used.
Per buildfarm.
This commit is contained in:
parent
264aa14a2f
commit
4b7b9a7904
@ -864,7 +864,7 @@ dsm_impl_mmap(dsm_op op, dsm_handle handle, uint64 request_size,
|
||||
save_errno = errno;
|
||||
close(fd);
|
||||
if (op == DSM_OP_CREATE)
|
||||
shm_unlink(name);
|
||||
unlink(name);
|
||||
errno = save_errno;
|
||||
|
||||
ereport(elevel,
|
||||
|
Loading…
x
Reference in New Issue
Block a user