Re: ACCESS EXCLUSIVE LOCK

From: seth(dot)m(dot)green(at)gmail(dot)com
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: ACCESS EXCLUSIVE LOCK
Date: 2006-03-02 14:30:19
Message-ID: 1141309819.427763.177710@u72g2000cwu.googlegroups.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

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?

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2006-03-02 14:49:32 Re: [SQL] Interval subtracting
Previous Message Andrew - Supernews 2006-03-02 14:19:51 Re: ACCESS EXCLUSIVE LOCK

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2006-03-02 14:49:32 Re: [SQL] Interval subtracting
Previous Message Andrew - Supernews 2006-03-02 14:19:51 Re: ACCESS EXCLUSIVE LOCK