Re: LOCK TABLE HELP - Mailing list pgsql-general

From Alvaro Herrera
Subject Re: LOCK TABLE HELP
Date
Msg-id 20080317125753.GD6083@alvh.no-ip.org
Whole thread Raw
In response to Re: LOCK TABLE HELP  (luca.ciciriello@email.it)
List pgsql-general
luca.ciciriello@email.it wrote:
> Sorry for delay in my answer. The problem is that with the lock
> instructions my app remain in a freeze state. It resembling a MUTEX
> deadlock.Anyway, as soon as possible I'll test yuor idea to use a
> separate PQexec.

Freeze state?  Oh, you mean like somebody already holds the lock, so
your LOCK TABLE is just waiting for the holder to release it ...

Have a look around the pg_locks view.

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

pgsql-general by date:

Previous
From: "Pavan Deolasee"
Date:
Subject: Re: 8.3.0 upgrade
Next
From: Dee
Date:
Subject: Re: Cannot Install PostgreSQL on Windows 2000 Server