Re: Putting code in main of src/backend/main/main.c
От | Sumaira Ali - |
---|---|
Тема | Re: Putting code in main of src/backend/main/main.c |
Дата | |
Msg-id | BAY1-F961IfpT8vWyu900010d5a@hotmail.com обсуждение исходный текст |
Ответ на | Putting code in main of src/backend/main/main.c ("S -" <nat_lazy@hotmail.com>) |
Список | pgsql-hackers |
<div style="background-color:"><div><p><br /><br /></div><div></div><div></div>>From: Tom Lane <div></div>>To: "SumairaAli -" <div></div>>CC: pgsql-hackers@postgresql.org <div></div>>Subject: Re: [HACKERS] Putting code in mainof src/backend/main/main.c <div></div>>Date: Fri, 25 Apr 2003 00:28:19 -0400 <div></div>> <div></div>>"SumairaAli -" writes: <div></div>> > <p>What do you mean by underlying state? And also, each each timeany process (transaction)wants to acqure a lock it calls LockAcquire (and if we put our code to update our linkedlist)andwon't that ways each processes's actions be recorded in the linkedlist.<div></div>> <div></div>>Not unlessyou keep the linked list in shared memory --- at which point <div></div>>it is surely duplicative of the lists thelock manager already maintains. <div></div>> <div></div>> regards, tom lane <div>Is LockData the data structureof 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 differnttransactions) in postgresql?</font></div><div><font size="2">thanks</font></div><div><font size="2">sumaira</font></div></div><brclear="all" /><hr />Add photos to your e-mail with <a href="http://g.msn.com/8HMVENUS/2746">MSN8.</a> Get 2 months FREE*.
В списке pgsql-hackers по дате отправления: