On Wed, Oct 15, 2014 at 9:34 PM, Robert Haas wrote:
> On Wed, Oct 15, 2014 at 10:04 AM, Tom Lane wrote:
> > Amit Kapila writes:
> >> I have observed that for renaming some of the objects
> >> AccessExclusiveLock is taken on object whereas for
> >> other kind of objects no lock is taken on object
On Wed, Oct 15, 2014 at 10:04 AM, Tom Lane wrote:
> Amit Kapila writes:
>> I have observed that for renaming some of the objects
>> AccessExclusiveLock is taken on object whereas for
>> other kind of objects no lock is taken on object before
>> renaming the object.
>
> The usual theory for DDL up
Amit Kapila writes:
> I have observed that for renaming some of the objects
> AccessExclusiveLock is taken on object whereas for
> other kind of objects no lock is taken on object before
> renaming the object.
The usual theory for DDL updates of all types (not just rename)
is that an explicit loc