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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-hackers by date

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