getting lock information - Mailing list pgsql-general

From Himanshu Baweja
Subject getting lock information
Date
Msg-id 20050524171953.74818.qmail@web51008.mail.yahoo.com
Whole thread Raw
Responses Re: getting lock information
List pgsql-general
I wanted to see which tables/transaction have acquired or are waiting for which locks....
as far as i know there are two ways to do it....
 
1) pg_locks ::: need to write trigger... and have high overhead...
 
2) trace_locks,trace_lwlocks ... etc etc.... ::: well for this my server says undefined parameters... so as far as i know i need to rebuild the server with some flag...
 
is there any other better way by which i can get a list of locks acquired and waited for during entire run of my application....
 
thx
Himanshu

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

pgsql-general by date:

Previous
From: Jaime Casanova
Date:
Subject: Re: Update on tables when the row doesn't change
Next
From: Tino Wildenhain
Date:
Subject: Re: table synonyms