Re: GUC variable set, TODO

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr>
Cc: Thomas Hallgren <thhal(at)mailblocks(dot)com>, PostgreSQL Developers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: GUC variable set, TODO
Date: 2004-04-19 15:25:08
Message-ID: 25394.1082388308@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Fabien COELHO 2004-04-19 15:44:38 Re: GUC variable set, TODO
Previous Message Tom Lane 2004-04-19 15:18:07 Re: signal 11 on AIX: 7.4.2