Re: Simpler dump?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Simpler dump?
Дата
Msg-id 13389.1197299236@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Simpler dump?  (Ted Byers <r.ted.byers@rogers.com>)
Ответы Re: Simpler dump?  (Ted Byers <r.ted.byers@rogers.com>)
Список pgsql-general
Ted Byers <r.ted.byers@rogers.com> writes:
> It seems the public schema is
> automagically created by Postgres every time I create
> a new database on a given server, and it has over a
> dozen types, over 400 functions, &c.  I don't really
> understand why it needs to be duplicated in every Db
> on a server, but that is another matter.

What it sounds like to me is that you've managed to clutter your
template1 with a lot of stuff you don't actually want, and that's
getting propagated into new databases by CREATE DATABASE.  If so,
it's not pg_dump's fault --- you need to clean out template1.

            regards, tom lane

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

Предыдущее
От: "Nikolay Samokhvalov"
Дата:
Сообщение: Re: Problems with acessing xml functions on other database
Следующее
От: Martin Korous
Дата:
Сообщение: Re: [GENERAL] cannot dump structures