Re: Advice regarding configuration parameters - Mailing list pgsql-hackers

From Joe Conway
Subject Re: Advice regarding configuration parameters
Date
Msg-id 4023C9DF.9060404@joeconway.com
Whole thread Raw
In response to Re: Advice regarding configuration parameters  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Advice regarding configuration parameters  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Tom Lane wrote:
> Peter Eisentraut <peter_e@gmx.net> writes:
>>Am Freitag, 6. Februar 2004 10:27 schrieb Thomas Hallgren:
>>>1. Something similar to postgresql.conf (it's not extendable though, is
>>>it?)
> 
>>No, it is not.
> 
> In principle it could be --- the mechanisms already exist in guc.c to
> permit outside agents to add variables.  The difficulty in having a PL
> handler add such variables is that there is no good way to get the
> handler to run before postgresql.conf is scanned for the first time,
> and if it isn't then GUC will error out on the "unknown" variable name.

I had started down this road about a year ago (i.e. had a partial 
patch), for exactly the same reason Thomas is interested -- I wanted it 
for PL/R. But the consensus at the time seemed to be that it wouldn't be 
accepted so I gave up on it. I still think it is a good idea and that 
the difficulties can be worked out.

Joe



pgsql-hackers by date:

Previous
From: Jan Wieck
Date:
Subject: Re: [pgsql-hackers-win32] Sync vs. fsync during checkpoint
Next
From: Tom Lane
Date:
Subject: Re: Advice regarding configuration parameters