| From: | Andrew Dunstan <andrew(at)dunslane(dot)net> |
|---|---|
| To: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
| Cc: | pgsql-hackers(at)postgresql(dot)org, Marc Munro <marc(at)bloodnok(dot)com> |
| Subject: | Re: Making config file parser available to add-ins |
| Date: | 2006-07-24 18:46:42 |
| Message-ID: | 44C51592.7040002@dunslane.net |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Greg Stark | 2006-07-24 18:50:10 | Re: Better name/syntax for "online" index creation |
| Previous Message | Tom Lane | 2006-07-24 18:44:37 | Re: Making config file parser available to add-ins |