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 447BB757.2050806@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:
> Tom Lane writes:
>
>> CREATE INDEX shouldn't block any concurrent SELECT, regardless of which
>> index AM is involved.
>
> The problem was that the table needed a "vacuum full". It was a large
> table and had done a massive update. It is not that it was blocked, but
> that it was just taking a very long time.
>
> 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).

--
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: Pedro
Date:
Subject: whats the standard text search query?