Re: lock problem - Mailing list pgsql-general

From Richard Huxton
Subject Re: lock problem
Date
Msg-id 430248AB.1050706@archonet.com
Whole thread Raw
In response to Re: lock problem  (marcelo Cortez <jmdc_marcelo@yahoo.com.ar>)
Responses Re: lock problem  (marcelo Cortez <jmdc_marcelo@yahoo.com.ar>)
List pgsql-general
marcelo Cortez wrote:
> Hi Richard , folks
>
> the query is:
>
>  SELECT c.actuacion_car AS c_actuacion,
>  c.comentario1 || ' ' || c.comentario2 || ' ' ||
> c.comentario3 AS c_comentario
> FROM caratult AS c INNER JOIN extractt AS t1 ON
...etc


I'm not seeing anything here that should take locks, although it's late
where I am.

> without table definition etc, you see are selects
> only.
> during this  query, select * from pg_catalog.pg_locks
> show many rows with exclusive locks , and other
> activities or user's be freezed,

Are you *sure* that it's this query? Could you show some of the rows
from pg_locks along with corresponding rows from pg_stat_activity?

--
   Richard Huxton
   Archonet Ltd

pgsql-general by date:

Previous
From: Matt Miller
Date:
Subject: Re: Waiting on a transaction
Next
From: Mario Guenterberg
Date:
Subject: Re: Adding contrib modules