pgsql: Store 2PC GID in commit/abort WAL recs for logical decoding

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема pgsql: Store 2PC GID in commit/abort WAL recs for logical decoding
Дата
Msg-id E1f1EEd-000851-3T@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Store 2PC GID in commit/abort WAL recs for logical decoding

Store GID of 2PC in commit/abort WAL records when wal_level = logical.
This allows logical decoding to send the SAME gid to subscribers
across restarts of logical replication.

Track relica origin replay progress for 2PC.

(Edited from patch 0003 in the logical decoding 2PC series.)

Authors: Nikhil Sontakke, Stas Kelvich
Reviewed-by: Simon Riggs, Andres Freund

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/1eb6d6527aae264b3e0b9c95aa70bb7a594ad1cf

Modified Files
--------------
src/backend/access/rmgrdesc/xactdesc.c |  39 ++++++++++++
src/backend/access/transam/twophase.c  | 105 ++++++++++++++++++++++++++++-----
src/backend/access/transam/xact.c      |  78 ++++++++++++++++++++++--
src/include/access/twophase.h          |   5 +-
src/include/access/xact.h              |  27 ++++++++-
5 files changed, 230 insertions(+), 24 deletions(-)


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: pgsql: Attempt to fix jsonb_plpython build on Windows
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Fix actual and potential double-frees around tuplesort usage.