Fix statistics reporting in logical replication workers This new arrangement ensures that statistics are reported right after commit of transactions. The previous arrangement didn't get this quite right and could lead to assertion failures.
Author: Petr Jelinek <[email protected]> Reported-by: Erik Rijkers <[email protected]> Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/9a591c1bccc5edeb06b979c59f39753982131181 Modified Files -------------- src/backend/replication/logical/tablesync.c | 18 ++++++++++++++---- src/backend/replication/logical/worker.c | 2 +- 2 files changed, 15 insertions(+), 5 deletions(-) -- Sent via pgsql-committers mailing list ([email protected]) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers
