From: | Fujii Masao <fujii(at)postgresql(dot)org> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Save pg_stat_statements statistics file into $PGDATA/pg_stat dir |
Date: | 2014-06-04 03:26:53 |
Message-ID: | [email protected] |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Save pg_stat_statements statistics file into $PGDATA/pg_stat directory at shutdown.
187492b6c2e8cafc5b39063ca3b67846e8155d24 changed pgstat.c so that
the stats files were saved into $PGDATA/pg_stat directory when the server
was shutdowned. But it accidentally forgot to change the location of
pg_stat_statements permanent stats file. This commit fixes pg_stat_statements
so that its stats file is also saved into $PGDATA/pg_stat at shutdown.
Since this fix changes the file layout, we don't back-patch it to 9.3
where this oversight was introduced.
Branch
------
master
Modified Files
--------------
contrib/pg_stat_statements/pg_stat_statements.c | 2 +-
src/backend/postmaster/pgstat.c | 8 --------
src/include/pgstat.h | 8 ++++++++
3 files changed, 9 insertions(+), 9 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Fujii Masao | 2014-06-04 16:47:30 | pgsql: Add description of pg_stat directory into doc. |
Previous Message | Peter Eisentraut | 2014-06-04 03:09:40 | pgsql: Silence Bison deprecation warnings |