Re: [HACKERS] ProcSignalSlot vs. PGPROC

2010-02-26 Thread Tom Lane
Markus Wanner writes: > do I understand correctly that a BackendId is just an index into the > ProcSignalSlots array and not (necessarily) the same as the index into > ProcArrayStruct's procs? > If yes, could these be synchronized? Why is ProcSignalSlot not part of > PGPROC at all? Both are sh

[HACKERS] ProcSignalSlot vs. PGPROC

2010-02-26 Thread Markus Wanner
Hi, do I understand correctly that a BackendId is just an index into the ProcSignalSlots array and not (necessarily) the same as the index into ProcArrayStruct's procs? If yes, could these be synchronized? Why is ProcSignalSlot not part of PGPROC at all? Both are shared memory structures per