Re: Cannot drop template1

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Cannot drop template1
Дата
Msg-id 14206.1103034430@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Cannot drop template1  ("Raymond O'Donnell" <rod@iol.ie>)
Ответы Re: Cannot drop template1
Список pgsql-general
"Raymond O'Donnell" <rod@iol.ie> writes:
>   dropdb -U postgres -W template1
> at the command line, all I get back is "dropdb: database removal
> failed: ERROR:  cannot drop the currently open database".

That's because the dropdb command itself connects to template1.

See the article on techdocs.postgresql.org about rebuilding template1
to find out about all the gotchas and workarounds needed to do this.

            regards, tom lane

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

Предыдущее
От: Együd Csaba (Freemail)
Дата:
Сообщение: Re: Insufficient memory for this operation.
Следующее
От: Robert Treat
Дата:
Сообщение: Re: Best practice in postgres