]> granicus.if.org Git - postgresql/commit
In PGSharedMemoryIsInUse, assume that EACCES indicates a shmem segment
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 9 Nov 2004 20:35:16 +0000 (20:35 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 9 Nov 2004 20:35:16 +0000 (20:35 +0000)
commit176bb0812fe46e117b8a185ff70abf95bb87a792
treea6aba9eae1b379def336d0204e855a5d2a892a47
parent3392959b6ee9574ff3928715ab204a3210eb4e67
In PGSharedMemoryIsInUse, assume that EACCES indicates a shmem segment
that is of no concern to us --- it must belong to a different userid,
which means it is not a Postgres shmem segment (or at least,
not one that is relevant to our data directory).  I plan a more extensive
fix in HEAD, but this is a simple change that prevents failure-to-reboot
problems for single-postmaster installations.
src/backend/port/sysv_shmem.c