Re: template0 database comment

Bruce Momjian <bruce@momjian.us>

From: Bruce Momjian <bruce@momjian.us>
To: Peter Eisentraut <peter_e@gmx.net>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, Greg Stark <gsstark@mit.edu>, Dave Page <dpage@pgadmin.org>, PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2011-03-14T15:18:33Z
Lists: pgsql-hackers

Attachments

Peter Eisentraut wrote:
> On l?r, 2011-03-12 at 12:01 -0500, Tom Lane wrote:
> > Shouldn't the "postgres" database get a comment too, while we're at
> > it?  Perhaps "default database to connect to"?
> 
> That's not actually true, though.  Maybe it's the "default database used
> by administration programs"?  In practice it might be "some otherwise
> unused database that's occasionally useful". ;-)

Based on previous discussion I have developed a patch to add comments
for 'postgres' and 'template0' databases:

	postgres=> \l+
	...
	 postgres  | default administrative database
	 template0 | unmodifiable empty database
	 template1 | default template database

-- 
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

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