Re: creating/accessing new runtime parameters

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: brook(at)biology(dot)nmsu(dot)edu
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: creating/accessing new runtime parameters
Date: 2003-09-24 15:57:53
Message-ID: 11836.1064419073@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

<brook(at)biology(dot)nmsu(dot)edu> writes:
> Tom Lane writes:
>>> The basic thing is to add an appropriate table entry to guc.c.

> 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 ...

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andreas Pflug 2003-09-24 16:04:12 Re: creating/accessing new runtime parameters
Previous Message brook 2003-09-24 15:50:37 Re: creating/accessing new runtime parameters