pgsql: Document a few caveats in synchronous logical replication.

Поиск
Список
Период
Сортировка
От Amit Kapila
Тема pgsql: Document a few caveats in synchronous logical replication.
Дата
Msg-id E1ltlSm-0006bs-8N@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Document a few caveats in synchronous logical replication.

In a synchronous logical setup, locking [user] catalog tables can cause
deadlock. This is because logical decoding of transactions can lock
catalog tables to access them so exclusively locking those in transactions
can lead to deadlock. To avoid this users must refrain from having
exclusive locks on catalog tables.

Author: Takamichi Osumi
Reviewed-by: Vignesh C, Amit Kapila
Backpatch-through: 9.6
Discussion: https://www.postgresql.org/message-id/20210222222847.tpnb6eg3yiykzpky%40alap3.anarazel.de

Branch
------
REL9_6_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/acdb523cb642e190e55719b8e4769a99fc767606

Modified Files
--------------
doc/src/sgml/logicaldecoding.sgml | 76 +++++++++++++++++++++++++++++----------
1 file changed, 57 insertions(+), 19 deletions(-)


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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: pgsql: Detect unused steps in isolation specs and do some cleanup
Следующее
От: Peter Eisentraut
Дата:
Сообщение: pgsql: Fix subtransaction test for Python 3.10