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

From
Subject creating/accessing new runtime parameters
Date
Msg-id 16241.41197.452475.916345@viola.nmsu.edu
Whole thread Raw
Responses Re: creating/accessing new runtime parameters  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
I am writing a backend C function whose behavior should depend on the
setting of a new runtime parameter that can be set with SET.  I have
several questions concerning how to implement this, as I can find no
information in the documentation.

- How can I introduce a new variable (e.g., XXX) to the system so that for example SET XXX=1 will work?

- How can I access the value of such a variable from within a backend C function?

Thanks for your help.

Cheers,
Brook


pgsql-hackers by date:

Previous
From: Hans-Jürgen Schönig
Date:
Subject: Re: ecpg build on AIX 4.2.1
Next
From: Samuel A Horwitz
Date:
Subject: Re: ecpg build on AIX 4.2.1