pgsql: Allow streaming the changes after speculative aborts.

Поиск
Список
Период
Сортировка
От Amit Kapila
Тема pgsql: Allow streaming the changes after speculative aborts.
Дата
Msg-id E1lyRxp-0004zr-0J@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Allow streaming the changes after speculative aborts.

Until now, we didn't allow to stream the changes in logical replication
till we receive speculative confirm or the next DML change record after
speculative inserts. The reason was that we never use to process
speculative aborts but after commit 4daa140a2f it is possible to process
them so we can allow streaming once we receive speculative abort after
speculative insertion.

We decided to backpatch to 14 where the feature for streaming in progress
transactions have been introduced as this is a minor change and makes that
functionality better.

Author: Amit Kapila
Reviewed-By: Dilip Kumar
Backpatch-through: 14
Discussion: https://postgr.es/m/CAA4eK1KdqmTCtrBR6oFfGELrLLbDLDedL6zACcsUOQuTJBj1vw@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/52d26d560e272613c501e35b24fbf8d710de4b8a

Modified Files
--------------
src/backend/replication/logical/reorderbuffer.c | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)


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

Предыдущее
От: Amit Kapila
Дата:
Сообщение: pgsql: Allow enabling two-phase option via replication protocol.
Следующее
От: Amit Kapila
Дата:
Сообщение: pgsql: Replace magic constants used in pg_stat_get_replication_slot().