Re: Status of gist locking in 8.1.3? - Mailing list pgsql-general

From Chris
Subject Re: Status of gist locking in 8.1.3?
Date
Msg-id 447BDEEB.3060600@gmail.com
Whole thread Raw
In response to Re: Status of gist locking in 8.1.3?  (Francisco Reyes <lists@stringsutils.com>)
List pgsql-general
Francisco Reyes wrote:
> Chris writes:
>
>>> Is there a way to tell what tables have locks on them?
>>
>> SELECT * from pg_locks ;
>>
>> (version 7.4 and above at least, don't have an install earlier than
>> that).
>
> And this is per DB right?

No, this is per system.

Not sure how it works with permissions (eg if you have access to one db
but not another does it still show?) but as a superuser, it will show
all locks across the whole system.

--
Postgresql & php tutorials
http://www.designmagick.com/

pgsql-general by date:

Previous
From: Francisco Reyes
Date:
Subject: Re: Status of gist locking in 8.1.3?
Next
From: "Dan Black"
Date:
Subject: Re: Charset conversion error