Re: [HACKERS] Protecting against case where shmget says EINVAL instead of EEXIST

2010-05-01 Thread Robert Haas
On Sat, May 1, 2010 at 12:01 PM, Tom Lane wrote: > The thread here > http://archives.postgresql.org/pgsql-admin/2010-04/msg00358.php > shows that current OS X contains the same issue that was complained of > a year or so ago with respect to NetBSD.  Namely, that if shmget finds > an existing share

[HACKERS] Protecting against case where shmget says EINVAL instead of EEXIST

2010-05-01 Thread Tom Lane
The thread here http://archives.postgresql.org/pgsql-admin/2010-04/msg00358.php shows that current OS X contains the same issue that was complained of a year or so ago with respect to NetBSD. Namely, that if shmget finds an existing shared memory segment that is smaller than the current request, i