Re: Making config file parser available to add-ins - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Making config file parser available to add-ins
Date
Msg-id 12997.1153766677@sss.pgh.pa.us
Whole thread Raw
In response to Re: Making config file parser available to add-ins  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: Making config file parser available to add-ins
List pgsql-hackers
Peter Eisentraut <peter_e@gmx.net> writes:
> Marc Munro wrote:
>> I want Veil (http://pgfoundry.org/projects/veil/) to be able to read
>> configuration details from a configuration file.

> What kind of details?  By the time any server-side module is loaded, the 
> configuration file has already been read, so why would you need to read 
> it again?

Probably the correct question is whether Marc's problem isn't already
solved by the "custom GUC variable" mechanism --- that is, whatever he
wants to configure should be defined as "custom" GUCs within the
existing configuration file.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [PATCHES] The vacuum-ignore-vacuum patch
Next
From: Andrew Dunstan
Date:
Subject: Re: Making config file parser available to add-ins