>From: Tom Lane
>To: "Sumaira Ali -"
>CC: pgsql-hackers@postgresql.org
>Subject: Re: [HACKERS] Putting code in main of src/backend/main/main.c
>Date: Fri, 25 Apr 2003 00:28:19 -0400
>
>"Sumaira Ali -" writes:
> >

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.

>
>Not unless you keep the linked list in shared memory --- at which point
>it is surely duplicative of the lists the lock manager already maintains.
>
> regards, tom lane
Is LockData the data structure of Lock.h and GetLockStatusData(void) the funciton that returns the all hte information relating to locks (being waited for and taken up by differnt transactions) in postgresql?
thanks
sumaira


Add photos to your e-mail with MSN 8. Get 2 months FREE*.