update ALTER TABLE with ATTACH PARTITION lock mode

Поиск
Список
Период
Сортировка
От Justin Pryzby
Тема update ALTER TABLE with ATTACH PARTITION lock mode
Дата
Msg-id 20191028001207.GB23808@telsasoft.com
обсуждение исходный текст
Ответы Re: update ALTER TABLE with ATTACH PARTITION lock mode
Список pgsql-hackers
commit #898e5e32 (Allow ATTACH PARTITION with only ShareUpdateExclusiveLock)
updates ddl.sgml but not alter_table.sgml, which only says:

https://www.postgresql.org/docs/12/release-12.html
|An ACCESS EXCLUSIVE lock is held unless explicitly noted.

Find attached patch, which also improve language in several related places.

"Without such a constraint": SUCH could refer to either of the constraints..

"because it is no longer necessary.": In our use case, we prefer to keep the
redundant constraint, to avoid having to add it back if we detach/reattach
again in the future..

Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Alexander Korotkov
Дата:
Сообщение: Re: Connections hang indefinitely while taking a gin index's LWLockbuffer_content lock(PG10.7)
Следующее
От: "Smith, Peter"
Дата:
Сообщение: RE: Proposal: Add more compile-time asserts to exposeinconsistencies.