Re: Simpler dump?

From: Tino Wildenhain <tino(at)wildenhain(dot)de>
To: Ted Byers <r(dot)ted(dot)byers(at)rogers(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-general(at)postgresql(dot)org
Subject: Re: Simpler dump?
Date: 2007-12-10 15:46:21
Message-ID: 475D5F4D.6040000@wildenhain.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi Ted,

Ted Byers wrote:
> --- Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tino Wildenhain 2007-12-10 15:48:18 Re: Simpler dump?
Previous Message Vivek Khera 2007-12-10 15:45:40 Re: Slony replication