Re: dropdb to a remote host - Mailing list pgsql-general

From Tom Lane
Subject Re: dropdb to a remote host
Date
Msg-id 3895.1005690275@sss.pgh.pa.us
Whole thread Raw
In response to Re: dropdb to a remote host  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: dropdb to a remote host
List pgsql-general
Bruce Momjian <pgman@candle.pha.pa.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

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: CREATE DATABASE WITH LOCATION
Next
From: Bruce Momjian
Date:
Subject: Re: dropdb to a remote host