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