Re: lock problem

From: Richard Huxton <dev(at)archonet(dot)com>
To: marcelo Cortez <jmdc_marcelo(at)yahoo(dot)com(dot)ar>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: lock problem
Date: 2005-08-16 20:12:27
Message-ID: 430248AB.1050706@archonet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Mario Guenterberg 2005-08-16 20:34:41 Re: Adding contrib modules
Previous Message Matt Miller 2005-08-16 19:19:04 Re: Waiting on a transaction