Re: How can I recreate the template0 database?

Поиск
Список
Период
Сортировка
От Scott Marlowe
Тема Re: How can I recreate the template0 database?
Дата
Msg-id 1110815954.28555.37.camel@state.g2switchworks.com
обсуждение исходный текст
Ответ на How can I recreate the template0 database?  (Eduardo Mambrilla Martínez <emambr@tid.es>)
Ответы Re: How can I recreate the template0 database?  (Alvaro Herrera <alvherre@dcc.uchile.cl>)
Список pgsql-admin
On Wed, 2005-03-09 at 01:32, Eduardo Mambrilla Martínez wrote:
> I made a mistake, I droped the template0 database...
> How can I recreate it?

Do you still have template1?  If so, connect in single user mode, enter:
postgres template1
create database template0 with template template1
update pg_database set datallowconn = false where datname='template0';

Use CTRL-D to exit.

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

Предыдущее
От: Thomas F.O'Connell
Дата:
Сообщение: Re: Performance Question
Следующее
От: Thomas F.O'Connell
Дата:
Сообщение: Re: Performance Question