aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTomas Vondra <tomas.vondra@postgresql.org>2020-05-02 00:36:25 +0200
committerTomas Vondra <tomas.vondra@postgresql.org>2020-05-02 00:36:25 +0200
commit2e08d314ed07363636a5da65f2a3abf7135f8ba8 (patch)
tree027ef00a878ff23104dd551c817436fb719b9674 /src
parent0da06d9faf9e865c7d16a358a30ebe1a0014a709 (diff)
downloadpostgresql-2e08d314ed07363636a5da65f2a3abf7135f8ba8.tar.gz
postgresql-2e08d314ed07363636a5da65f2a3abf7135f8ba8.zip
Remove pg_xact entry from SLRU stats
The "pg_xact" entry was duplicate with "clog" and was added by mistake. Reported-by: Fujii Masao Discussion: https://postgr.es/m/20200119143707.gyinppnigokesjok@development
Diffstat (limited to 'src')
-rw-r--r--src/backend/postmaster/pgstat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/postmaster/pgstat.c b/src/backend/postmaster/pgstat.c
index 50eea2e8a84..2ba3858d31e 100644
--- a/src/backend/postmaster/pgstat.c
+++ b/src/backend/postmaster/pgstat.c
@@ -152,7 +152,7 @@ PgStat_MsgBgWriter BgWriterStats;
*/
static char *slru_names[] = {"async", "clog", "commit_timestamp",
"multixact_offset", "multixact_member",
- "oldserxid", "pg_xact", "subtrans",
+ "oldserxid", "subtrans",
"other" /* has to be last */};
/* number of elemenents of slru_name array */