From 76668e6eb468caa6e09af71d6bee820e2dc0fc3c Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Mon, 2 May 2005 18:26:54 +0000 Subject: Check the file system on postmaster startup and report any unreferenced files in the server log. Heikki Linnakangas --- doc/src/sgml/maintenance.sgml | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) (limited to 'doc/src') diff --git a/doc/src/sgml/maintenance.sgml b/doc/src/sgml/maintenance.sgml index 5775d8d1ee7..6315dacf404 100644 --- a/doc/src/sgml/maintenance.sgml +++ b/doc/src/sgml/maintenance.sgml @@ -1,5 +1,5 @@ @@ -474,6 +474,23 @@ HINT: Stop the postmaster and use a standalone backend to VACUUM in "mydb". + + Check files after crash + + + stale file + + + + PostgreSQL recovers automatically after crash + using the write-ahead log (see ) and no manual + operations are normally needed. However, if there was a transaction running + when the crash occured that created or dropped a relation, the + transaction might have left a stale file in the data directory. If this + happens, you will get a notice in the log file stating which files can be + deleted. + + Log File Maintenance -- cgit v1.2.3