<html><div style='background-color:'><DIV>
<P><BR><BR></P></DIV>
<DIV></DIV>
<DIV></DIV>>From: Tom Lane <TGL(at)SSS(dot)PGH(dot)PA(dot)US>
<DIV></DIV>>To: "Sumaira Ali -" <NAT_LAZY(at)HOTMAIL(dot)COM>
<DIV></DIV>>CC: pgsql-hackers(at)postgresql(dot)org
<DIV></DIV>>Subject: Re: [HACKERS] Putting code in main of src/backend/main/main.c
<DIV></DIV>>Date: Fri, 25 Apr 2003 00:28:19 -0400
<DIV></DIV>>
<DIV></DIV>>"Sumaira Ali -" <NAT_LAZY(at)HOTMAIL(dot)COM>writes:
<DIV></DIV>> >
<P>What do you mean by underlying state? And also, each each time any process (transaction)wants to acqure a lock it calls LockAcquire (and if we put our code to update our linkedlist)and won't that ways each processes's actions be recorded in the linkedlist.</P>
<DIV></DIV>>
<DIV></DIV>>Not unless you keep the linked list in shared memory --- at which point
<DIV></DIV>>it is surely duplicative of the lists the lock manager already maintains.
<DIV></DIV>>
<DIV></DIV>> regards, tom lane
<DIV>Is LockData the data structure of Lock.h and <FONT size=2>GetLockStatusData(</FONT><FONT color=#0000ff size=2>void</FONT><FONT size=2>) the funciton that returns the all hte information relating to locks (being waited for and taken up by differnt transactions) in postgresql?</FONT></DIV>
<DIV><FONT size=2>thanks</FONT></DIV>
<DIV><FONT size=2>sumaira</FONT></DIV></div><br clear=all><hr>Add photos to your e-mail with <a href="http://g.msn.com/8HMVENUS/2746">MSN 8.</a> Get 2 months FREE*.</html>