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

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

<html><div style='background-color:'><DIV>
<DIV></DIV>&gt;"S -" <NAT_LAZY(at)HOTMAIL(dot)COM>writes: </DIV>
<DIV></DIV>&gt; &gt; We are working on a project where we want to create a single linked list
<DIV></DIV>&gt; &gt; that holds information of all the locks taken or being waited for by
<DIV></DIV>&gt; &gt; transactions in Postgresql.
<DIV></DIV>&gt;
<DIV></DIV>&gt;How will you maintain such a list, when the underlying state is
<DIV></DIV>
<P>&gt;constantly being changed by many different processes? </P>
<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>
<P>thanks</P>
<P>-sumaira</P>
<DIV></DIV>
<DIV></DIV></div><br clear=all><hr>The new <a href="http://g.msn.com/8HMAENUS/2737">MSN 8:</a> smart spam protection and 2 months FREE* </html>

Attachment Content-Type Size
unknown_filename text/html 964 bytes

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2003-04-25 04:28:19 Re: Putting code in main of src/backend/main/main.c
Previous Message Tom Lane 2003-04-25 03:32:35 Re: compile error on cvs tip