how to get actual PGPROC and LOCK object from SHMEM_OFFSET???

From: "Sumaira Ali" <nat_lazy(at)hotmail(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: how to get actual PGPROC and LOCK object from SHMEM_OFFSET???
Date: 2003-03-12 01:46:28
Message-ID: BAY1-F145W1AR0MQUlW00034710@hotmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

<html><div style='background-color:'><DIV>How do we get the actual pgproc object from the </DIV>
<DIV>SHMEM_OFFSET proc /* link to pgproc of owning backend*/ in the PROCLOCKTAG struct in file Lock.h</DIV>
<DIV>The same question also for SHMEM_OFFSET lock /*link to per-lockable-object information*/ in the same struct</DIV>
<DIV>Is SHMEM_OFFSET&nbsp;a pointer to an address which has the "header" of the unique&nbsp;pgproc object? '</DIV>
<DIV>So, again, how to get the actual PGPROC and LOCK object from SHMEM_OFFSET?</DIV>
<DIV>Any help will be greatly appreciated,</DIV>
<DIV>Thanks,</DIV>
<DIV>Sumaira</DIV></div><br clear=all><hr>Protect your PC - <a href="http://g.msn.com/8HMEENUS/2755">Click here</a> for McAfee.com VirusScan Online </html>

Attachment Content-Type Size
unknown_filename text/html 750 bytes

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2003-03-12 02:02:06 Re: [INTERFACES] Roadmap for FE/BE protocol redesign
Previous Message Hiroshi Inoue 2003-03-12 01:44:23 Re: Roadmap for FE/BE protocol redesign