Re: include directives in postgresql.conf

Поиск
Список
Период
Сортировка
От Thom Brown
Тема Re: include directives in postgresql.conf
Дата
Msg-id CAA-aLv7n+Q3PWiWoz7NLGtXaHWCz2t3etoy03xqs=+Kzomp6+w@mail.gmail.com
обсуждение исходный текст
Ответ на include directives in postgresql.conf  (AI Rumman <rummandba@gmail.com>)
Список pgsql-general
On 2 July 2011 10:42, AI Rumman <rummandba@gmail.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

В списке pgsql-general по дате отправления:

Предыдущее
От: AI Rumman
Дата:
Сообщение: include directives in postgresql.conf
Следующее
От: Alban Hertroys
Дата:
Сообщение: MATCH FULL (Was: Re: Adding Foreign Key Constraint To Existing Table)