PROC struct - Mailing list pgsql-bugs

From Myron Scott
Subject PROC struct
Date
Msg-id 3A76887F.3080308@sacadia.com
Whole thread Raw
Responses Re: PROC struct
List 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

pgsql-bugs by date:

Previous
From: Alex Krohn
Date:
Subject: Re: select fails on indexed varchars.
Next
From: "Vadim I. Passynkov"
Date:
Subject: Problem with inet/cidr convert functions