Re: Utility database (Was: RE: Autovacuum in the backend)

Поиск
Список
Период
Сортировка
От Andreas Pflug
Тема Re: Utility database (Was: RE: Autovacuum in the backend)
Дата
Msg-id 42B2D028.1080300@pse-consulting.de
обсуждение исходный текст
Ответ на Re: Utility database (Was: RE: Autovacuum in the backend)  (Christopher Kings-Lynne <chriskl@familyhealth.com.au>)
Список pgsql-hackers
Christopher Kings-Lynne wrote:
>> Probably, though the create db issue is a good reason not to use 
>> template1.
> 
> 
> Create db issue?

CREATE TABLE (implicitely using TEMPLATE template1) often fails because 
template1 has connections exceeding the current one.

> 
>> So may I propose to have a pg_system database created by initdb, as a 
>> copy from template1 in 8.1?
> 
> 
> But then dbas will block off access to that db, or drop it and we're 
> back to square one...

Sure, some dbas also might like to drop INFORMATION_SCHEMA, or modify 
system catalogs or worse to bend the system as they like, effectively 
disabling common tools. But if we create  this db with initdb, I'd 
expect to find it in the vast majority of installations. If not, we 
could fall back to template1 for admin tools.

Regards,
Andreas


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

Предыдущее
От: "Dave Page"
Дата:
Сообщение: Re: Utility database (Was: RE: Autovacuum in the backend)
Следующее
От: Nicolai Tufar
Дата:
Сообщение: Re: DTrace Probes?