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

Поиск
Список
Период
Сортировка
От Dave Page
Тема Re: Utility database (Was: RE: Autovacuum in the backend)
Дата
Msg-id E7F85A1B5FF8D44C8A1AF6885BC9A0E4850774@ratbert.vale-housing.co.uk
обсуждение исходный текст
Ответ на Utility database (Was: RE: Autovacuum in the backend)  ("Dave Page" <dpage@vale-housing.co.uk>)
Список pgsql-hackers


-----Original Message-----
From: Christopher Kings-Lynne [mailto:chriskl@familyhealth.com.au]
Sent: Fri 6/17/2005 11:00 AM
To: Andreas Pflug
Cc: Magnus Hagander; Dave Page; Josh Berkus; pgsql-hackers@postgresql.org; Tom Lane
Subject: Re: [HACKERS] Utility database (Was: RE: Autovacuum in the backend)
>> Probably, though the create db issue is a good reason not to use template1.
>
> Create db issue?

You can't create a db from template1 if other users are connected to it, which means the most simple form of create
databasewill fail. 

>> 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...

That's their choice though, and it would then be up to them to provide an alternative for their users (there's nothing
tostop them doing the same with template1 iirc). At least we would have a standard, non-template database for utilities
toconnect to, whose purpose could be documented. 

Regards Dave



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

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