Re: lock listing - Mailing list pgsql-patches

From Bruce Momjian
Subject Re: lock listing
Date
Msg-id 200207311834.g6VIYJ801805@candle.pha.pa.us
Whole thread Raw
In response to Re: lock listing  (nconway@klamath.dyndns.org (Neil Conway))
Responses Re: lock listing  (nconway@klamath.dyndns.org (Neil Conway))
List pgsql-patches
Yes, I think that would be the way to go, or look at the stat functions
that return tuple sets and use those.  That may be a cleaner solution.

---------------------------------------------------------------------------

Neil Conway wrote:
> On Tue, Jul 30, 2002 at 03:11:40PM -0400, Bruce Momjian wrote:
> > We have pg_stat_activity.  Seems pg_locks should behave the same,
> > without the ().  Let it show up in \dS.  Do you need assistance with
> > this?  I know FRS is neat, but logically it seems it should appear as a
> > table like that statistics stuff.
>
> So I should just add a view called "pg_locks" that calls the table
> function?
>
> I'll submit a new patch once Joe's anonymous composite type patch gets
> into CVS.
>
> Cheers,
>
> Neil
>
> --
> Neil Conway <neilconway@rogers.com>
> PGP Key ID: DB3C29FC
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/users-lounge/docs/faq.html
>

--
  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-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: default attstattarget
Next
From: nconway@klamath.dyndns.org (Neil Conway)
Date:
Subject: Re: lock listing