Re: template0 database comment

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Greg Stark <gsstark(at)mit(dot)edu>, Dave Page <dpage(at)pgadmin(dot)org>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: template0 database comment
Date: 2011-03-14 15:27:03
Message-ID: 201103141527.p2EFR3010139@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom Lane wrote:
> Greg Stark <gsstark(at)mit(dot)edu> writes:
> > On Sat, Mar 12, 2011 at 1:59 PM, Bruce Momjian <bruce(at)momjian(dot)us> wrote:
> >> OK, funny guys. ;-) Can someone give me the right text. Obviously I
> >> don' know what template0 is used for either. Is it pg_dumpall perhaps?
>
> > template0: unmodifiable pristine empty database
> > template1: default template for new databases
>
> Yeah, I think that the right way to approach this is to have initdb
> comment *both* of those databases. I don't like that specific wording
> for template0 though. Maybe
>
> template0: unmodified copy of original template1 database
> template1: default template for new databases

Tom, the current comment for "template1" is "default template database".
Do you like your above wording better? It does make it slighly longer.

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ It's impossible for everything to be true. +

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2011-03-14 15:32:35 Re: template0 database comment
Previous Message Pavel Stehule 2011-03-14 15:26:47 patch: tabcomple for pset - format and linestyle