AW: Unhappy thoughts about pg_dump and objects inherite d from template1

From: Zeugswetter Andreas SB <ZeugswetterA(at)wien(dot)spardat(dot)at>
To: Philip Warner <pjw(at)rhyme(dot)com(dot)au>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: AW: Unhappy thoughts about pg_dump and objects inherite d from template1
Date: 2000-11-09 07:55:59
Message-ID: 11C1E6749A55D411A9670001FA6879633680FC@sdexcsrv1.f000.d0188.sd.spardat.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


> I like that a lot. Solves the whole problem at a stroke, and even
> adds some extra functionality (alternate templates).
>
> Do we need an actual enforcement mechanism for "don't modify
> template0"?
> I think we could live without that for now. If you're
> worried about it,
> one way would be to not allow connections of any sort to template0...
> in fact template0 needn't be a real database at all, just a
> $PGDATA/base
> subdirectory with no pg_database entry.

I like this "not really a database" idea.
Might even be something for $libdir, no ?
Then all that would be needed is a command that creates a
database from this location instead of template1.

Andreas

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Zeugswetter Andreas SB 2000-11-09 07:59:41 AW: Unhappy thoughts about pg_dump and objects inherite d from template1
Previous Message Rod Taylor 2000-11-09 04:44:06 Re: Text concat problem