postgres.git / summary / log / commit / refs
commit 8dc90b9c4c45fa30a8f59313e21d294529ef7182
Author: Fujii Masao <fujii@postgresql.org>
Date: Wed Jun 04 16:46:31 2014 +0000
First released in: 9.4.0, 9.3.5
Add description of pg_stat directory into doc.
Back-patch to 9.3 where pg_stat directory was introduced.
doc/src/sgml/monitoring.sgml | 2 +-
doc/src/sgml/storage.sgml | 6 ++++++
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/monitoring.sgml b/doc/src/sgml/monitoring.sgml
index b37b6c301cb..ea9aaaaee03 100644
--- a/doc/src/sgml/monitoring.sgml
+++ b/doc/src/sgml/monitoring.sgml
@@ -186,7 +186,7 @@ postgres: <replaceable>user</> <replaceable>database</> <replaceable>host</> <re
For better performance, <varname>stats_temp_directory</> can be
pointed at a RAM-based file system, decreasing physical I/O requirements.
When the server shuts down, a permanent copy of the statistics
- data is stored in the <filename>global</filename> subdirectory, so that
+ data is stored in the <filename>pg_stat</filename> subdirectory, so that
statistics can be retained across server restarts.
</para>
diff --git a/doc/src/sgml/storage.sgml b/doc/src/sgml/storage.sgml
index b628c8fd70b..1035f58a9b1 100644
--- a/doc/src/sgml/storage.sgml
+++ b/doc/src/sgml/storage.sgml
@@ -93,6 +93,12 @@ Item
<entry>Subdirectory containing exported snapshots</entry>
</row>
+<row>
+ <entry><filename>pg_stat</></entry>
+ <entry>Subdirectory containing permanent files for the statistics
+ subsystem</entry>
+</row>
+
<row>
<entry><filename>pg_stat_tmp</></entry>
<entry>Subdirectory containing temporary files for the statistics
[parent: 9dee1e4b3832]