Re: ACCESS EXCLUSIVE LOCK - Mailing list pgsql-hackers

From seth.m.green@gmail.com
Subject Re: ACCESS EXCLUSIVE LOCK
Date
Msg-id 1141309819.427763.177710@u72g2000cwu.googlegroups.com
Whole thread Raw
In response to Re: ACCESS EXCLUSIVE LOCK  (Andrew - Supernews <andrew+nonews@supernews.com>)
List pgsql-hackers
First of all, thank you very much. I changed TRUNCATE to DELETE FROM
and my problem as been fixed.

Is there any way to override that behavior? I know you can explicitly
lock tables, can you explicitly unlock tables?

Just to be clear, once I run a TRUNCATE command inside an SP, that
table that it acts upon will have an access exclusive lock on it until
the SP is finished?



pgsql-hackers by date:

Previous
From: seth.m.green@gmail.com
Date:
Subject: Re: ACCESS EXCLUSIVE LOCK
Next
From: Alvaro Herrera
Date:
Subject: Re: heaptuple over the network