projects
/
users
/
c2main
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0da06d9
)
Remove pg_xact entry from SLRU stats
author
Tomas Vondra
<
[email protected]
>
Fri, 1 May 2020 22:36:25 +0000
(
00:36
+0200)
committer
Tomas Vondra
<
[email protected]
>
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
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/postmaster/pgstat.c
b/src/backend/postmaster/pgstat.c
index 50eea2e8a844dbfb1c8442c8d0b7aa00cc8253ff..2ba3858d31e3078d5e88c93bbc6e92fca57f5c18 100644
(file)
--- 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 */