Fix incorrect use of shm_unlink where unlink should be used.
authorRobert Haas <rhaas@postgresql.org>
Thu, 10 Oct 2013 14:56:19 +0000 (10:56 -0400)
committerRobert Haas <rhaas@postgresql.org>
Thu, 10 Oct 2013 14:57:10 +0000 (10:57 -0400)
Per buildfarm.

src/backend/storage/ipc/dsm_impl.c

index f929f02743a927773411d7eeb5f9e75c3b825928..8e7273109b0d6b777e924de58c4e56b585d7d786 100644 (file)
@@ -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,