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: AANLkTikzah19LWxJ+tD=r4p9ygcY1YY6L1oCqVTM42v+@mail.gmail.com (view raw or flat)
Thread:
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
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

Responses

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-2014 The PostgreSQL Global Development Group