Re: Reducing some DDL Locks to ShareLock - Mailing list pgsql-hackers

From Robert Haas
Subject Re: Reducing some DDL Locks to ShareLock
Date
Msg-id 603c8f070810070705m77aafb3drafd663abc19280a9@mail.gmail.com
Whole thread Raw
In response to Re: Reducing some DDL Locks to ShareLock  (Simon Riggs <simon@2ndQuadrant.com>)
Responses Re: Reducing some DDL Locks to ShareLock
List pgsql-hackers
> 3. The patch introduces a slight weirdness: if you create two FKs on the
> same column at the same time you end up with two constraints with
> identical names. Drop constraint then removes them both, though in other
> respects they are both valid, just not uniquely. CREATE INDEX avoids
> this by way of the unique index on relname. The equivalent index on
> pg_constraint is not unique, though *cannot* be made unique without
> breaking some corner cases of table inheritance.

Urk... this seems pretty undesirable.

...Robert


pgsql-hackers by date:

Previous
From: Simon Riggs
Date:
Subject: Re: Reducing some DDL Locks to ShareLock
Next
From: Zdenek Kotala
Date:
Subject: doubts about toast_flatten_tuple_attribute/heap_form_tuple