Re: template0 database comment

Bruce Momjian <bruce@momjian.us>

From: Bruce Momjian <bruce@momjian.us>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Greg Stark <gsstark@mit.edu>, Dave Page <dpage@pgadmin.org>, PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2011-03-14T15:27:03Z
Lists: pgsql-hackers
Tom Lane wrote:
> Greg Stark <gsstark@mit.edu> writes:
> > On Sat, Mar 12, 2011 at 1:59 PM, Bruce Momjian <bruce@momjian.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@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

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