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 03:09:11
Message-ID: 447BB757.2050806@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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/

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Pedro 2006-05-30 03:46:57 whats the standard text search query?
Previous Message Francisco Reyes 2006-05-30 02:32:38 Re: Status of gist locking in 8.1.3?