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

From Tom Lane
Subject Re: creating/accessing new runtime parameters
Date
Msg-id 4230.1064414712@sss.pgh.pa.us
Whole thread Raw
In response to creating/accessing new runtime parameters  (<brook@biology.nmsu.edu>)
Responses Re: creating/accessing new runtime parameters
List pgsql-hackers
<brook@biology.nmsu.edu> writes:
> - How can I introduce a new variable (e.g., XXX) to the system so that
>   for example SET XXX=1 will work?

The basic thing is to add an appropriate table entry to guc.c.  You
might try searching the sources for all references to one of the
lesser-used GUC variables, perhaps default_statistics_target, to get
a feeling for what's involved.
        regards, tom lane


pgsql-hackers by date:

Previous
From: "Matthew T. O'Connor"
Date:
Subject: Re: pg_dump doesn't dump binary compatible casts
Next
From: "Gottfried F. Zojer"
Date:
Subject: