Re: "initdb -t" destroys all databases - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: "initdb -t" destroys all databases
Date
Msg-id Pine.LNX.4.30.0101201915000.1033-100000@peter.localdomain
Whole thread Raw
In response to Re: "initdb -t" destroys all databases  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Tom Lane writes:

> It occurs to me that the only likely use for initdb -t is now served by
>     DROP DATABASE template1;
>     CREATE DATABASE template1 WITH TEMPLATE = template0;
> ie, we have a *real* way to reconstruct a virgin template1 rather than
> an initdb kluge.

I agree.

> Accordingly, I suggest that initdb -t should be flushed entirely.

Kill it.

-- 
Peter Eisentraut      peter_e@gmx.net       http://yi.org/peter-e/



pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: C++ interface build on FreeBSD 4.2 broken?
Next
From: Tom Lane
Date:
Subject: Re: [PATCHES] binary operators on integers