I want to write an admin utility that will view backend SQL queries, and
be able to view locks and statistics using gdb on the running backend.

> "Dale Anderson" <[EMAIL PROTECTED]> writes:
> >     Is there any way to view the locks being held on a table??
> 
> There is not any good way --- lock.c has a routine called DumpAllLocks,
> but it's not even compiled by default, let alone connected up to any
> reasonable calling method.  I've been thinking for awhile that we
> desperately need some simple way of dumping out the state of the lock
> manager...
> 
>                       regards, tom lane
> 


-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  [EMAIL PROTECTED]               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

Reply via email to