Re: template0 and template1 databases

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: template0 and template1 databases
Дата
Msg-id 2395.999791400@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: template0 and template1 databases  (Andrew Gould <andrewgould@yahoo.com>)
Ответы Re: template0 and template1 databases
Список pgsql-general
Andrew Gould <andrewgould@yahoo.com> writes:
> So if I'm running PostgreSQL 7.1.3 and have pg_dumped
> my databases, I can 'dropdb template0'?

That would be A Bad Move.  template0 is what pg_dumpall expects to use
to build new databases.  See the discussion near the bottom of
http://www.ca.postgresql.org/users-lounge/docs/7.1/postgres/sql-createdatabase.html
(possibly this should be duplicated somewhere in the Administrator's Guide).

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: createdb buggy?
Следующее
От: "Jeff Eckermann"
Дата:
Сообщение: Can a pl/perl function return NULL?