Re: Simpler dump?

From: Raymond O'Donnell <rod(at)iol(dot)ie>
To: Douglas McNaught <doug(at)mcnaught(dot)org>
Cc: Ted Byers <r(dot)ted(dot)byers(at)rogers(dot)com>, Richard Huxton <dev(at)archonet(dot)com>, Tino Wildenhain <tino(at)wildenhain(dot)de>, "Uwe C(dot) Schroeder" <uwe(at)oss4u(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: Simpler dump?
Date: 2007-12-10 17:08:47
Message-ID: 475D729F.8010104@iol.ie
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 10/12/2007 16:39, Douglas McNaught wrote:
> It sounds like the thing for you to do is drop template1 (which will
> have no effect on template_postgis), create it again from template0,
> and use template_postgis when you need it (otherwise template1 will be
> used by default for new databases).

As I recall, that's exactly what template0 is for - it's to let you
restore template1 to pristine condition if you fill it with crud (which
I've managed to do once or twice).

Ray.

---------------------------------------------------------------
Raymond O'Donnell, Director of Music, Galway Cathedral, Ireland
rod(at)iol(dot)ie
---------------------------------------------------------------

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Josh Harrison 2007-12-10 17:20:07 slony question
Previous Message Matthew T. O'Connor 2007-12-10 17:04:42 Re: Creating indexes