Re: creating/accessing new runtime parameters - Mailing list pgsql-hackers

From Joe Conway
Subject Re: creating/accessing new runtime parameters
Date
Msg-id 3F71C483.4080601@joeconway.com
Whole thread Raw
In response to Re: creating/accessing new runtime parameters  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: creating/accessing new runtime parameters  (<brook@biology.nmsu.edu>)
List pgsql-hackers
Tom Lane wrote:
> <brook@biology.nmsu.edu> writes:
>>I take it there is not way to do this dynamically, for example to
>>support a dynamically loaded function?
> 
> Not at the moment, although IIRC the guc.c data structures are designed
> to make it possible to add things on-the-fly.  (There's a pointer table
> that's built dynamically, and in theory could contain more entries than
> are in the hardcoded tables.)  You'd need to add a routine to actually
> add an entry ... and figure out where to call it from ...
> 

I had a patch about 80% complete to do this, but it was rejected. The 
comment was that I should use a temp table instead. I still think it 
would be useful myself. See this thread:

http://archives.postgresql.org/pgsql-hackers/2002-12/msg00988.php

Joe



pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [GENERAL] pgindented tsearch2 for 7.3.4
Next
From: Greg Stark
Date:
Subject: Re: pg_dump doesn't dump binary compatible casts