Re: Adding new variables into GUC - Mailing list pgsql-hackers

From Robert Haas
Subject Re: Adding new variables into GUC
Date
Msg-id AANLkTi=wp0w4Jm-yMibpM+i8WUcT+QO7FidTEN7FU61M@mail.gmail.com
Whole thread Raw
In response to Re: Adding new variables into GUC  (Josh Berkus <josh@agliodbs.com>)
List pgsql-hackers
2011/2/10 Josh Berkus <josh@agliodbs.com>:
>
>> You basically need the variable, the entry in the appropriate array in
>> guc.c, and some documentation (at least if you'd like anyone else to
>> ever use the code).  Try looking at some past patches that added GUCs
>> similar to yours.
>
> For completeness, it would also be good to add rows to the pg_settings
> system catalog, but that's not necessary for testing.

pg_settings doesn't need to be separately updated.  It's just a view.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: ALTER EXTENSION UPGRADE, v3
Next
From: Heikki Linnakangas
Date:
Subject: Re: Sync Rep for 2011CF1