Paranoia about possible values of errno after a shmget/semget failure.
Tom Lane <tgl@sss.pgh.pa.us>
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
| Path | Change | +/− |
|---|---|---|
| src/backend/storage/ipc/ipc.c | modified | +15 −5 |