From: | Thom Brown <thom(at)linux(dot)com> |
---|---|
To: | AI Rumman <rummandba(at)gmail(dot)com> |
Cc: | pgsql-general General <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: include directives in postgresql.conf |
Date: | 2011-07-02 10:03:14 |
Message-ID: | CAA-aLv7n+Q3PWiWoz7NLGtXaHWCz2t3etoy03xqs=+Kzomp6+w@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On 2 July 2011 10:42, AI Rumman <rummandba(at)gmail(dot)com> wrote:
> Can anyone please tell me that how to use 'include directives' in
> Postgresql.conf?
> http://www.postgresql.org/docs/8.4/interactive/config-setting.html
Well it's quite clear from the documentation. It's just:
include 'filename'
So if you have a config file in the same directory as postgresql.conf,
and you specify that it be included, it will be. If it's not in the
same directory, give an absolute path. Note that if a setting in the
include file is later specified in postgresql.conf after the include
directive, it will override the setting in the include.
But one example scenario you might wish to use is to leave
postgresql.conf as it is, put an include directive on the bottom line
to include another config file, and just use that to override settings
in postgresql.conf. Another is that you may wish to keep contrib
module configuration in their own files, so you can add include
directives for each of those.
--
Thom Brown
Twitter: @darkixion
IRC (freenode): dark_ixion
Registered Linux user: #516935
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
From | Date | Subject | |
---|---|---|---|
Next Message | Alban Hertroys | 2011-07-02 10:32:00 | MATCH FULL (Was: Re: Adding Foreign Key Constraint To Existing Table) |
Previous Message | AI Rumman | 2011-07-02 09:42:37 | include directives in postgresql.conf |