Remove pg_xact entry from SLRU stats
authorTomas Vondra <tomas.vondra@postgresql.org>
Fri, 1 May 2020 22:36:25 +0000 (00:36 +0200)
committerTomas Vondra <tomas.vondra@postgresql.org>
Fri, 1 May 2020 22:36:25 +0000 (00:36 +0200)
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

src/backend/postmaster/pgstat.c

index 50eea2e8a844dbfb1c8442c8d0b7aa00cc8253ff..2ba3858d31e3078d5e88c93bbc6e92fca57f5c18 100644 (file)
@@ -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 */