Unnecessary confirm work on logical replication

Поиск
Список
Период
Сортировка
От Emre Hasegeli
Тема Unnecessary confirm work on logical replication
Дата
Msg-id CAE2gYzwsJ_ji2CncRn1ZbCTtfvOFL5Sy=Zm2kVqAzmCFAvCSTQ@mail.gmail.com
обсуждение исходный текст
Ответы Re: Unnecessary confirm work on logical replication  (Ashutosh Bapat <ashutosh.bapat.oss@gmail.com>)
Список pgsql-hackers
I was reading the logical replication code and found a little
unnecessary work we are doing.

The confirmed_flushed_lsn cannot reasonably be ahead of the
current_lsn, so there is no point of calling
LogicalConfirmReceivedLocation() every time we update the candidate
xmin or restart_lsn.

Patch is attached.

Вложения

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Fix the description of GUC "max_locks_per_transaction" and "max_pred_locks_per_transaction" in guc_table.c
Следующее
От: Andres Freund
Дата:
Сообщение: Re: Minimal logical decoding on standbys