Re: "initdb -t" destroys all databases

Peter Eisentraut <peter_e@gmx.net>

From: Peter Eisentraut <peter_e@gmx.net>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Bruce Momjian <pgman@candle.pha.pa.us>, Richard Poole <richard.poole@vi.net>, <pgsql-hackers@postgresql.org>
Date: 2001-01-20T18:15:22Z
Lists: 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/