Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr> 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 independently of their type, with a binary search.
The idea was to provide an API that would allow insertion of new entries
into the dynamic array. This does not mean you have to reinvent where
the static entries come from.
regards, tom lane