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

Поиск
Список
Период
Сортировка
От Zeugswetter Andreas SB
Тема AW: Unhappy thoughts about pg_dump and objects inherite d from template1
Дата
Msg-id 11C1E6749A55D411A9670001FA6879633680FC@sdexcsrv1.f000.d0188.sd.spardat.at
обсуждение исходный текст
Ответы Re: AW: Unhappy thoughts about pg_dump and objects inherite d from template1
Список 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


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Thomas Lockhart
Дата:
Сообщение: Re: Horology regress test changed?
Следующее
От: Zeugswetter Andreas SB
Дата:
Сообщение: AW: Unhappy thoughts about pg_dump and objects inherite d from template1