Paranoia about possible values of errno after a shmget/semget failure.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: c23851bbe060983cb688afbd9708602fc70fd1d0
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2000-12-30T01:20:55Z
Releases: 7.1.1
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.

Files

PathChange+/−
src/backend/storage/ipc/ipc.c modified +15 −5