Here's a draft of the solution that I'm currently working on for custom GUC
variables:
A new string variable 'custom_variable_classes' is introduced. This variable
is a comma separated string of identifiers. Each identifier denots a 'class'
that will allow its members to be added without error.
Dear Thomas,
I might have some time left to spend on the item Allow external interfaces
to extend the GUC variable set
filed under Administration on the TODO list. I'm thinking of an approach
with the steps:
1) Increasing my own understanding of the GUC code
Well, I did that yesterday
Fabien COELHO [EMAIL PROTECTED] writes:
. All guc variables are described in static structures initialized at
loadtime. if it is to be extendable, it means that you have break this,
No, you don't.
. There is also a dynamic sorted array that allows to find all variables
descriptions
Dear Tom,
. All guc variables are described in static structures initialized at
loadtime. if it is to be extendable, it means that you have break this,
No, you don't.
Well, sorry, I'm used to show my lack of imagination on the list;-)
. There is also a dynamic sorted array that allows
Fabien COELHO [EMAIL PROTECTED] writes:
Ok. I understand that you suggest to Thomas that he should only touch
the search array to insert new pointers to guc description structures,
which may come from outside or be newly allocated, without touching the
existing static versions for internal guc
Tom Lane wrote:
Fabien COELHO [EMAIL PROTECTED] writes:
Ok. I understand that you suggest to Thomas that he should only touch
the search array to insert new pointers to guc description structures,
which may come from outside or be newly allocated, without touching the
existing static versions for