Revert "Track statistics for spilling of changes from ReorderBuffer".
authorAmit Kapila <akapila@postgresql.org>
Mon, 13 Jul 2020 02:36:05 +0000 (08:06 +0530)
committerAmit Kapila <akapila@postgresql.org>
Mon, 13 Jul 2020 03:23:23 +0000 (08:53 +0530)
commitd973747281caece520236e93d255c654cc613ec9
tree5f80b648a1a3490b47bde42d0a06d9fbb84524eb
parent5bfe6a3c485d3259f59fa2d2e1d34dea1a3baeba
Revert "Track statistics for spilling of changes from ReorderBuffer".

The stats with this commit was available only for WALSenders, however,
users might want to see for backends doing logical decoding via SQL API.
Then, users might want to reset and access these stats across server
restart which was not possible with the current patch.

List of commits reverted:

caa3c4242c   Don't call elog() while holding spinlock.
e641b2a995   Doc: Update the documentation for spilled transaction
statistics.
5883f5fe27   Fix unportable printf format introduced in commit 9290ad198.
9290ad198b   Track statistics for spilling of changes from ReorderBuffer.

Additionaly, remove the release notes entry for this feature.

Backpatch-through: 13, where it was introduced
Discussion: https://postgr.es/m/CA+fd4k5_pPAYRTDrO2PbtTOe0eHQpBvuqmCr8ic39uTNmR49Eg@mail.gmail.com
doc/src/sgml/monitoring.sgml
src/backend/catalog/system_views.sql
src/backend/replication/logical/reorderbuffer.c
src/backend/replication/walsender.c
src/include/catalog/catversion.h
src/include/catalog/pg_proc.dat
src/include/replication/reorderbuffer.h
src/include/replication/walsender_private.h
src/test/regress/expected/rules.out