Re: Making config file parser available to add-ins

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: Making config file parser available to add-ins
Дата
Msg-id 44C51592.7040002@dunslane.net
обсуждение исходный текст
Ответ на Re: Making config file parser available to add-ins  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
Peter Eisentraut wrote:
> 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?
>
>   

We already have a mechanism to allow custom config sets in 
postgresql.conf. It's used by pl/java and pl/perl, for example. It 
probably needs better documentation.

If you want to use another config file then your module probably should 
use its own parser.

cheers

andrew


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Making config file parser available to add-ins
Следующее
От: Greg Stark
Дата:
Сообщение: Re: Better name/syntax for "online" index creation