Re: Adding new variables into GUC

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: Θάνος Παπαπέτρου <thanos(at)di(dot)uoa(dot)gr>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Adding new variables into GUC
Date: 2011-02-10 18:52:47
Message-ID: 4D5433FF.3010503@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


> 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.

--
-- Josh Berkus
PostgreSQL Experts Inc.
http://www.pgexperts.com

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2011-02-10 19:02:33 Re: ALTER EXTENSION UPGRADE, v3
Previous Message David E. Wheeler 2011-02-10 18:52:19 Re: ALTER EXTENSION UPGRADE, v3