From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Alex Avriette <a_avriette(at)acs(dot)org>, pgsql-general(at)postgresql(dot)org |
Subject: | Re: dropdb to a remote host |
Date: | 2001-11-13 22:26:37 |
Message-ID: | 200111132226.fADMQbN20544@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> > ... You can actually connect
> > to any database and do the command "DROP DATABASE dbname".
>
> Any database *except* the one to be deleted. dropdb defaults to using
Yes, of course. :-)
> template1 to issue the DROP. My bet is that Alex mistakenly thought
> it'd be a good idea to forbid connections to template1.
Oh, that's probably how this happened.
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
From | Date | Subject | |
---|---|---|---|
Next Message | Glen Parker | 2001-11-13 22:43:42 | Re: CREATE DATABASE WITH LOCATION |
Previous Message | Tom Lane | 2001-11-13 22:24:35 | Re: dropdb to a remote host |