Re: "initdb -t" destroys all databases

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, Richard Poole <richard(dot)poole(at)vi(dot)net>, <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: "initdb -t" destroys all databases
Date: 2001-01-20 18:15:22
Message-ID: Pine.LNX.4.30.0101201915000.1033-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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(at)gmx(dot)net http://yi.org/peter-e/

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2001-01-20 18:31:49 Re: [PATCHES] binary operators on integers
Previous Message Tom Lane 2001-01-20 18:14:51 Re: C++ interface build on FreeBSD 4.2 broken?