Re: Putting code in main of src/backend/main/main.c

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Sumaira Ali -" <nat_lazy(at)hotmail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Putting code in main of src/backend/main/main.c
Date: 2003-04-25 04:28:19
Message-ID: 6264.1051244899@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"Sumaira Ali -" <nat_lazy(at)hotmail(dot)com> writes:
> <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>

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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Joe Conway 2003-04-25 04:33:06 Re: compile error on cvs tip
Previous Message Sumaira Ali - 2003-04-25 04:17:53 Re: Putting code in main of src/backend/main/main.c