]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Revert "Track statistics for spilling of changes from ReorderBuffer".
authorAmit Kapila <akapila@postgresql.org>
Mon, 13 Jul 2020 02:57:40 +0000 (08:27 +0530)
committerAmit Kapila <akapila@postgresql.org>
Mon, 13 Jul 2020 03:16:56 +0000 (08:46 +0530)
commitb074813d48bcd2a7e224b56a3aff6db9df745237
tree04186f97d6763559fa3b7f3dc142fb6deddb1301
parentbc9aaac1a188cac11b1ebb04047de3db71257785
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
doc/src/sgml/release-13.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