Re: DROP DATABASE, but still there

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: DROP DATABASE, but still there
Дата
Msg-id 11627.1100207660@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: DROP DATABASE, but still there  (Greg Stark <gsstark@mit.edu>)
Список pgsql-general
Greg Stark <gsstark@mit.edu> writes:
> 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'

Also there are several safety interlocks you'll have to defeat, IIRC.
It's not rocket science but I'd recommend consulting the writeup on
techdocs.postgresql.org about the exact process for recreating
template1.

            regards, tom lane

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

Предыдущее
От: Dawid Kuroczko
Дата:
Сообщение: Re: comp.database.postgresql.*
Следующее
От: Frank Bax
Дата:
Сообщение: Re: [NOVICE] OID Question