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

ALTER TABLE .. SET SCHEMA lock strength

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: ALTER TABLE .. SET SCHEMA lock strength
Date: 2011-01-01 16:06:57
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
While reviewing the SQL/MED patch, I happened to notice that
ExecAlterObjectSchemaStmt calls AlterTableNamespace with a lock mode
argument of AccessExclusiveLock. Does anyone see a reason why
ShareUpdateExclusiveLock would be insufficient?

Robert Haas
The Enterprise PostgreSQL Company


pgsql-hackers by date

Next:From: Dimitri FontaineDate: 2011-01-01 16:28:42
Subject: Re: Sync Rep Design
Previous:From: Guillaume LelargeDate: 2011-01-01 15:31:29
Subject: Re: and it's not a bunny rabbit, either

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