postgresql/src/backend/replication/logical
Amit Kapila 8e90ec5580 Track statistics for streaming of changes from ReorderBuffer.
This adds the statistics about transactions streamed to the decoding
output plugin from ReorderBuffer. Users can query the
pg_stat_replication_slots view to check these stats and call
pg_stat_reset_replication_slot to reset the stats of a particular slot.
Users can pass NULL in pg_stat_reset_replication_slot to reset stats of
all the slots.

Commit 9868167500 has added the basic infrastructure to capture the stats
of slot and this commit extends the statistics collector to track
additional information about slots.

Bump the catversion as we have added new columns in the catalog entry.

Author: Ajin Cherian and Amit Kapila
Reviewed-by: Sawada Masahiko and Dilip Kumar
Discussion: https://postgr.es/m/CAA4eK1+chpEomLzgSoky-D31qev19AmECNiEAietPQUGEFhtVA@mail.gmail.com
2020-10-29 09:11:51 +05:30
..
Makefile Split all OBJS style lines in makefiles into one-line-per-entry style. 2019-11-05 14:41:07 -08:00
decode.c Track statistics for spilling of changes from ReorderBuffer. 2020-10-08 09:09:08 +05:30
launcher.c snapshot scalability: Don't compute global horizons while building snapshots. 2020-08-12 16:03:49 -07:00
logical.c Track statistics for streaming of changes from ReorderBuffer. 2020-10-29 09:11:51 +05:30
logicalfuncs.c Rework XLogReader callback system 2020-05-08 15:40:11 -04:00
message.c Print WAL logical message contents in pg_waldump 2020-09-10 19:37:02 -03:00
origin.c Replace superuser check by ACLs for replication origin functions 2020-06-14 12:40:37 +09:00
proto.c Add support for streaming to built-in logical replication. 2020-09-03 07:54:07 +05:30
relation.c Review logical replication tablesync code 2020-10-15 11:35:51 -03:00
reorderbuffer.c Track statistics for streaming of changes from ReorderBuffer. 2020-10-29 09:11:51 +05:30
snapbuild.c snapshot scalability: cache snapshots using a xact completion counter. 2020-08-17 21:08:30 -07:00
tablesync.c Review logical replication tablesync code 2020-10-15 11:35:51 -03:00
worker.c Calculate extraUpdatedCols in query rewriter, not parser. 2020-10-28 13:47:02 -04:00