Re: Reducing some DDL Locks to ShareLock

From: Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com>
To: Simon Riggs <simon(at)2ndQuadrant(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Robert Haas <robertmhaas(at)gmail(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Reducing some DDL Locks to ShareLock
Date: 2008-10-08 08:24:49
Message-ID: 48EC6E51.3040707@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Simon Riggs wrote:
> (That in itself is painful, surely DDL should fail if
> it sees another DDL statement in progress trying to do same thing).

Surely not. The other transaction doing the DDL might roll back.

--
Heikki Linnakangas
EnterpriseDB http://www.enterprisedb.com

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Simon Riggs 2008-10-08 09:10:26 Re: Reducing some DDL Locks to ShareLock
Previous Message Simon Riggs 2008-10-08 07:26:02 Re: Reducing some DDL Locks to ShareLock