Re: Reducing some DDL Locks to ShareLock

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: Reducing some DDL Locks to ShareLock
Дата
Msg-id 603c8f070810070705m77aafb3drafd663abc19280a9@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Reducing some DDL Locks to ShareLock  (Simon Riggs <simon@2ndQuadrant.com>)
Ответы Re: Reducing some DDL Locks to ShareLock  (Simon Riggs <simon@2ndQuadrant.com>)
Список 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 по дате отправления:

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Re: Reducing some DDL Locks to ShareLock
Следующее
От: Zdenek Kotala
Дата:
Сообщение: doubts about toast_flatten_tuple_attribute/heap_form_tuple