aboutsummaryrefslogtreecommitdiff
path: root/doc/man/cleardbdir.1
diff options
context:
space:
mode:
Diffstat (limited to 'doc/man/cleardbdir.1')
-rw-r--r--doc/man/cleardbdir.123
1 files changed, 23 insertions, 0 deletions
diff --git a/doc/man/cleardbdir.1 b/doc/man/cleardbdir.1
new file mode 100644
index 00000000000..151434ce06b
--- /dev/null
+++ b/doc/man/cleardbdir.1
@@ -0,0 +1,23 @@
+.\" This is -*-nroff-*-
+.\" XXX standard disclaimer belongs here....
+.\" $Header: /cvsroot/pgsql/doc/man/Attic/cleardbdir.1,v 1.1.1.1 1996/08/18 22:14:20 scrappy Exp $
+.TH CLEARDBDIR UNIX 11/05/95 Postgres95 Postgres95
+.SH NAME
+cleardbdir \(em completely destroys all database files
+.SH SYNOPSIS
+.BR "cleardbdir"
+.SH DESCRIPTION
+.IR cleardbdir
+destroys all the database files. It is used only by the
+Postgres super-user
+before re-initializing the entire installation for a particular site. Normal
+database users should never use this command.
+.PP
+The
+Postgres super-user
+should ensure the
+.IR postmaster
+process is not running before running cleardbdir.
+.SH "SEE ALSO"
+initdb(1)
+