Re: Permanent settings - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: Permanent settings
Date
Msg-id 47BB2EC6.6070806@dunslane.net
Whole thread Raw
In response to Re: Permanent settings  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: Permanent settings  (Robert Treat <xzilla@users.sourceforge.net>)
List pgsql-hackers

Andrew Dunstan wrote:
>
>
> Alvaro Herrera wrote:
>> Joshua D. Drake wrote:
>>
>>  
>>> IMO this should all be in the database and that's it. The idea that our
>>> global settings are in a file seems unusual consider we have a
>>> perfectly good storage engine available.
>>>     
>>
>> That doesn't work, because many settings must be loaded before the
>> database is fully operational.
>>
>>   
>
> Not to mention what would happen if the database had a problem so we 
> couldn't read the config.
>
>

Although, on further reflection, we could probably meet both of these 
objections by having the database maintain a text version of the config 
which it would load on startup.

One other possible objection is that it would allow  any superuser to 
set things that currently require direct access to the config files, so 
that would be a major change in security arrangements.

cheers

andrew


pgsql-hackers by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: Permanent settings
Next
From: Gregory Stark
Date:
Subject: Re: Permanent settings