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 <petr.jeli...@2ndquadrant.com> Reported-by: Erik Rijkers <e...@xs4all.nl> 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 (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers