PROC struct

From: Myron Scott <mscott(at)sacadia(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: PROC struct
Date: 2001-01-30 09:25:19
Message-ID: 3A76887F.3080308@sacadia.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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(at)sacadia(dot)com

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Christof Petig 2001-01-30 21:13:54 Re: ECPG, cursors and transactions
Previous Message Tom Lane 2001-01-30 01:44:49 Re: select fails on indexed varchars.