Re: Status of gist locking in 8.1.3?

From: Chris <dmagick(at)gmail(dot)com>
To: Francisco Reyes <lists(at)stringsutils(dot)com>
Cc: PostgreSQL general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Status of gist locking in 8.1.3?
Date: 2006-05-30 05:58:03
Message-ID: 447BDEEB.3060600@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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/

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Dan Black 2006-05-30 06:08:07 Re: Charset conversion error
Previous Message Francisco Reyes 2006-05-30 03:55:38 Re: Status of gist locking in 8.1.3?