Skip site navigation (1) Skip section navigation (2)

Does 'ALTER INDEX' take exclusive lock?

From: "Gurjeet Singh" <singh(dot)gurjeet(at)gmail(dot)com>
To: "PGSQL Hackers" <pgsql-hackers(at)postgresql(dot)org>
Subject: Does 'ALTER INDEX' take exclusive lock?
Date: 2008-05-25 04:57:09
Message-ID: 65937bea0805242157k21aa2b46m574a8dcbd5e2ffb8@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-hackers
Hi All,

   Does the command ALTER INDEX take exclusive lock on the objects involved?
Specifically I am looking at ALTER INDEX ... SET TABLESPACE. The docs do not
mention anything about this. I assume it would, and can do a few tests (or
look at code :) ), but asking here wouldn't hurt!

Best regards,
-- 
gurjeet[(dot)singh](at)EnterpriseDB(dot)com
singh(dot)gurjeet(at){ gmail | hotmail | indiatimes | yahoo }.com

EnterpriseDB http://www.enterprisedb.com

Mail sent from my BlackLaptop device

pgsql-hackers by date

Next:From: Hans-Juergen SchoenigDate: 2008-05-25 06:19:40
Subject: DROP ROLE dependency tracking ...
Previous:From: Tom LaneDate: 2008-05-25 03:34:05
Subject: Re: Execution-time-sensitive timestamp regression tests

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group