Re: Adding new variables into GUC

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
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:31:48
Message-ID: 19716.1297366308@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Josh Berkus <josh(at)agliodbs(dot)com> writes:
>> 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.

Huh? pg_settings is a dynamically generated view.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message David E. Wheeler 2011-02-10 19:35:29 Re: ALTER EXTENSION UPGRADE, v3
Previous Message Tom Lane 2011-02-10 19:31:09 Re: ALTER EXTENSION UPGRADE, v3