Skip to content

Commit 8dc90b9

Browse files
committed
Add description of pg_stat directory into doc.
Back-patch to 9.3 where pg_stat directory was introduced.
1 parent 9dee1e4 commit 8dc90b9

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

doc/src/sgml/monitoring.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ postgres: <replaceable>user</> <replaceable>database</> <replaceable>host</> <re
186186
For better performance, <varname>stats_temp_directory</> can be
187187
pointed at a RAM-based file system, decreasing physical I/O requirements.
188188
When the server shuts down, a permanent copy of the statistics
189-
data is stored in the <filename>global</filename> subdirectory, so that
189+
data is stored in the <filename>pg_stat</filename> subdirectory, so that
190190
statistics can be retained across server restarts.
191191
</para>
192192

doc/src/sgml/storage.sgml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,12 @@ Item
9393
<entry>Subdirectory containing exported snapshots</entry>
9494
</row>
9595

96+
<row>
97+
<entry><filename>pg_stat</></entry>
98+
<entry>Subdirectory containing permanent files for the statistics
99+
subsystem</entry>
100+
</row>
101+
96102
<row>
97103
<entry><filename>pg_stat_tmp</></entry>
98104
<entry>Subdirectory containing temporary files for the statistics

0 commit comments

Comments
 (0)