pgsql: Release the exclusive lock on the table early after truncating it

From: alvherre(at)postgresql(dot)org (Alvaro Herrera)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Release the exclusive lock on the table early after truncating it
Date: 2007-09-10 21:40:03
Message-ID: 20070910214003.67EED754206@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Release the exclusive lock on the table early after truncating it in lazy
vacuum, instead of waiting till commit.

Modified Files:
--------------
pgsql/src/backend/commands:
vacuumlazy.c (r1.92 -> r1.93)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/commands/vacuumlazy.c?r1=1.92&r2=1.93)

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message User Hlinnaka 2007-09-10 21:49:04 malaga-tsearch - malaga-tsearch: Initial version.
Previous Message Teodor Sigaev 2007-09-10 20:37:36 pgsql: Heikki Linnakangas <heikki@enterprisedb.com>: Add tsearch