Re: Simpler dump?

Поиск
Список
Период
Сортировка
От Tino Wildenhain
Тема Re: Simpler dump?
Дата
Msg-id 475D5F4D.6040000@wildenhain.de
обсуждение исходный текст
Ответ на Re: Simpler dump?  (Ted Byers <r.ted.byers@rogers.com>)
Список pgsql-general
Hi Ted,

Ted Byers wrote:
> --- Tom Lane <tgl@sss.pgh.pa.us> wrote:
...
>> it's not pg_dump's fault --- you need to clean out
>> template1.
>>
> Thanks Tom,
>
> Where will I find template1?  When I look at the
> databases on the server, the only template I see is
> called "template_postgis".  Most of the extra stuff I
> see in all my databases relates to geometry that I
> find in this template.  When I installed postgresql, I
> enabled postgis because I need it for some, but not
> all, of my databases.  Is it possible to have more
> than one template, and to specify which template to
> use when creating a new DB?

Yes thats possible - createdb has an option -T to
specify another template database.

Regards
Tino

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

Предыдущее
От: Vivek Khera
Дата:
Сообщение: Re: Slony replication
Следующее
От: Tino Wildenhain
Дата:
Сообщение: Re: Simpler dump?