Re: DROP DATABASE, but still there

Поиск
Список
Период
Сортировка
От Greg Stark
Тема Re: DROP DATABASE, but still there
Дата
Msg-id 87ekj0dtti.fsf@stark.xeocode.com
обсуждение исходный текст
Ответ на Re: DROP DATABASE, but still there  (Robert Fitzpatrick <robert@webtent.com>)
Ответы Re: DROP DATABASE, but still there  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
Robert Fitzpatrick <robert@webtent.com> writes:

> Yeah, I was just starting to realize that these objects that keep coming
> back are in the template1 as well.....any reason why I shouldn't drop
> the template1 and re-create like any other?

You can do that but you'll have to do:

  CREATE DATABASE template1 WITH template = 'template0'


--
greg

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

Предыдущее
От: Greg Stark
Дата:
Сообщение: Re: implicit casting problem
Следующее
От: Andrew Rawnsley
Дата:
Сообщение: Re: comp.database.postgresql.*