Putting code in main of src/backend/main/main.c - Mailing list pgsql-hackers

From S -
Subject Putting code in main of src/backend/main/main.c
Date
Msg-id BAY1-F153qNI4lQ5tX60000c1ba@hotmail.com
Whole thread Raw
Responses Re: Putting code in main of src/backend/main/main.c
List pgsql-hackers
HI,
We are working on a project where we want to create a single linked list  
that holds information of all the locks taken or being waited for by 
transactions in Postgresql. Since main in src/backend/main/main.c will be 
run just once when the Postgresql starts up, can declaration and 
initialization of this single linked list be put in this main?
Thank you
Sumaira

_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online  
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963



pgsql-hackers by date:

Previous
From: Sailesh Krishnamurthy
Date:
Subject: Re: Are we losing momentum?
Next
From: "S -"
Date:
Subject: forking child processes in src/backend/main/main.c