Re: dropdb to a remote host

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: dropdb to a remote host
Дата
Msg-id 200111132226.fADMQbN20544@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: dropdb to a remote host  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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

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@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

В списке pgsql-general по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: dropdb to a remote host
Следующее
От: "Glen Parker"
Дата:
Сообщение: Re: CREATE DATABASE WITH LOCATION