Re: Drop All the Databases

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Abu_Kamruzzaman(at)baruch(dot)cuny(dot)edu
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Drop All the Databases
Date: 2006-10-18 20:58:44
Message-ID: 439.1161205124@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Abu_Kamruzzaman(at)baruch(dot)cuny(dot)edu writes:
> Is there any command to drop all the database at once>

shutdown postmaster, rm -rf $PGDATA, initdb, start postmaster ...

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2006-10-18 21:05:48 Re: Stats Collector Won't Start
Previous Message Tom Lane 2006-10-18 20:55:38 Re: Stats Collector Won't Start