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: (view raw, whole thread or download thread mbox)
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,
singh(dot)gurjeet(at){ gmail | hotmail | indiatimes | yahoo }.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-2017 The PostgreSQL Global Development Group