pgsql: Don't do logical replication of TRUNCATE of zero tables

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема pgsql: Don't do logical replication of TRUNCATE of zero tables
Дата
Msg-id E1fDCxr-0006Yh-F9@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Don't do logical replication of TRUNCATE of zero tables

When due to publication configuration, a TRUNCATE change ends up with
zero tables to be published, don't send the message out, just skip it.
It's not wrong, but obviously useless overhead.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/92e1583b439ffab1d20419998895932e4fbe32fd

Modified Files
--------------
src/backend/replication/pgoutput/pgoutput.c | 17 ++++++++++-------
1 file changed, 10 insertions(+), 7 deletions(-)


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: pgsql: Prevent infinity and NaN in jsonb/plperl transform
Следующее
От: Tom Lane
Дата:
Сообщение: Re: pgsql: Prevent infinity and NaN in jsonb/plperl transform