]> granicus.if.org Git - postgresql/commit
Paranoia about possible values of errno after a shmget/semget failure.
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 30 Dec 2000 01:20:55 +0000 (01:20 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 30 Dec 2000 01:20:55 +0000 (01:20 +0000)
commitc23851bbe060983cb688afbd9708602fc70fd1d0
tree98205c3910bb711e66fa35dbe1174415b943fa48
parent2153d1c1062fb8ee363fb186c3cbb2d8533528ba
Paranoia about possible values of errno after a shmget/semget failure.
In theory we should always get EEXIST if there's a key collision, but
if the kernel code tests error conditions in a weird order, perhaps
EACCES or EIDRM could occur too.
src/backend/storage/ipc/ipc.c