Re: Utility database (Was: RE: Autovacuum in the backend) - Mailing list pgsql-hackers

From Dave Page
Subject Re: Utility database (Was: RE: Autovacuum in the backend)
Date
Msg-id E7F85A1B5FF8D44C8A1AF6885BC9A0E4850774@ratbert.vale-housing.co.uk
Whole thread Raw
In response to Utility database (Was: RE: Autovacuum in the backend)  ("Dave Page" <dpage@vale-housing.co.uk>)
List 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 by date:

Previous
From: "Dave Page"
Date:
Subject: Re: Utility database (Was: RE: Autovacuum in the backend)
Next
From: Andreas Pflug
Date:
Subject: Re: Utility database (Was: RE: Autovacuum in the backend)