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