Fix broken mmap failure-detection code, and improve error message.
Robert Haas <rhaas@postgresql.org>
Fix broken mmap failure-detection code, and improve error message. Per an observation by Thom Brown that my previous commit made an overly large shmem allocation crash the server, on Linux.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/port/sysv_shmem.c | modified | +10 −3 |