Re: Reindex does not finish 8.2.6 - Mailing list pgsql-general

From Alvaro Herrera
Subject Re: Reindex does not finish 8.2.6
Date
Msg-id 20080314140135.GD4843@alvh.no-ip.org
Whole thread Raw
In response to Re: Reindex does not finish 8.2.6  (Clodoaldo <clodoaldo.pinto.neto@gmail.com>)
Responses Re: Reindex does not finish 8.2.6
List pgsql-general
Clodoaldo escribió:
> 2008/3/14, Alvaro Herrera <alvherre@commandprompt.com>:

> >  A quick look into pg_locks should tell you if it's blocking.
>
> pg_prepared_xacts is empty and pg_locks has 288 rows:
>
> # select locktype, mode, count(*) as total
> from pg_locks group by locktype, mode;
>    locktype    |       mode       | total
> ---------------+------------------+-------
>  transactionid | ExclusiveLock    |    30
>  relation      | RowExclusiveLock |     2
>  relation      | AccessShareLock  |   256
> (3 rows)

How many of them have granted=false?

--
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: GRANT giving error on sequence in 7.4.19
Next
From: paul rivers
Date:
Subject: Re: PG secure for financial applications ...