Re: dropdb to a remote host

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruce Momjian <pgman(at)candle(dot)pha(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:24:35
Message-ID: 3895.1005690275@sss.pgh.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
template1 to issue the DROP. My bet is that Alex mistakenly thought
it'd be a good idea to forbid connections to template1.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Bruce Momjian 2001-11-13 22:26:37 Re: dropdb to a remote host
Previous Message Tom Lane 2001-11-13 22:22:08 Re: CREATE DATABASE WITH LOCATION