Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Drop all databases in Postgres by removing the current data cluster and recreating it
sudo pg_dropcluster --stop 9.4 main && sudo pg_createcluster 9.4 main && sudo pg_ctlcluster 9.4 main start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment