PROC struct
Myron Scott <mscott@sacadia.com>
From: Myron Scott <mscott@sacadia.com>
To: pgsql-bugs@postgresql.org
Date: 2001-01-30T09:25:19Z
Lists: pgsql-bugs
Hi, May I suggest that watiHolder and waitLock pointers in the proc struct in proc.h be changed from direct pointers to SHMEM_OFFSET. They are both shared memory structures in a shared memory structure and it would be more consistent to make these SHMEM_OFFSET. Direct pointers will be a problem if another process which is not the result of a fork tries to attach to the shared memory. The Direct pointers will not be valid for in this case. Thanks, Myron Scott mkscott@sacadia.com