From: | Robert Haas <robertmhaas(at)gmail(dot)com> |
---|---|
To: | Josh Berkus <josh(at)agliodbs(dot)com> |
Cc: | Θάνος Παπαπέτρου <thanos(at)di(dot)uoa(dot)gr>, pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: Adding new variables into GUC |
Date: | 2011-02-10 19:03:22 |
Message-ID: | AANLkTi=wp0w4Jm-yMibpM+i8WUcT+QO7FidTEN7FU61M@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
2011/2/10 Josh Berkus <josh(at)agliodbs(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Heikki Linnakangas | 2011-02-10 19:06:11 | Re: Sync Rep for 2011CF1 |
Previous Message | Robert Haas | 2011-02-10 19:02:33 | Re: ALTER EXTENSION UPGRADE, v3 |