OnCallReady

Commands

pg_dropcluster - completely delete a PostgreSQL cluster (postgresql-common)

pg_dropcluster [--stop] <version> <cluster>

Options you will use

--stop
stop the cluster first if it is running.

Examples

$ sudo pg_dropcluster 18 pitr --stop

throw away a recovery cluster

Taught in

Try pg_dropcluster in a real terminal Free, in your browser - a real Ubuntu terminal to try it in, with missions that check your work.