pg_dropcluster(8) debian man page | unix.com

Man Page: pg_dropcluster

Operating Environment: debian

Section: 8

PG_DROPCLUSTER(8)					 Debian PostgreSQL infrastructure					 PG_DROPCLUSTER(8)

NAME
pg_dropcluster - completely delete a PostgreSQL cluster
SYNOPSIS
pg_dropcluster [--stop] cluster-version cluster-name
DESCRIPTION
This program removes all files that belong to a given PostgreSQL cluster; that includes the data directory, the log file, and all configuration files that were created by pg_createcluster(1). If the configuration directory (/etc/postgresql/version/cluster) is empty after this, it is removed as well. An empty socket directory other than /var/run/postgresql or /tmp is also removed. Usually a cluster which still has a running server attached will not be deleted. To override this, the --stop option forces a server shutdown before the files are removed.
SEE ALSO
pg_createcluster(1), pg_ctlcluster(1)
AUTHOR
Martin Pitt <mpitt@debian.org> Debian 2012-10-08 PG_DROPCLUSTER(8)
Related Man Pages
sfood-cluster(1) - debian
postgresql-common(1) - debian
pg_createcluster(8) - debian
postgresql-setup(1) - centos
ipcluster(1) - suse
Similar Topics in the Unix Linux Community
awk or sed - Convert 2 lines to 1 line
Is UNIX an open source OS ?
Introduction
My first PERL incarnation... Audio Oscillograph