cleardbdir(1)

cleardbdir1

Completely destroys all database files

Usage

cleardbdir

Overview

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.

The Postgres super-user should ensure the postmaster process is not running before running cleardbdir.

Releases

5 releases since Debian 1.2 (Rex); the text changed 3 times.

  1. 1.2
  2. 1.3
  3. 2.0–2.1
  4. 2.2

From postgresql 6.5.3-27 in Debian 2.2 (Potato). Parsed by carta from the page's man source.