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

Browse pgsql-hackers by date

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