Re: Table locks - Mailing list pgsql-general

From Bruce Momjian
Subject Re: Table locks
Date
Msg-id 200010091800.OAA21044@candle.pha.pa.us
Whole thread Raw
In response to Re: Table locks  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Table locks  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> > 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.
>
> gdb on a backend doesn't seem to me like a reasonable component of a
> production situation.  I was thinking something along the line of a
> SHOW command that would show the state of the lock table.

I am thinking of a tcl/tk app that can go in and grab information from
backends by querying the actual structure values.  Does gdb
automatically halt the running app?

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

pgsql-general by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: postgres via shell scripts
Next
From: Bruce Momjian
Date:
Subject: Re: Table locks