pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: andreas.dewes@7scientists.com
To: pgsql-bugs@postgresql.org
Subject: BUG #13879: include_dir directive not working
Date: Thu, 21 Jan 2016 11:03:11 +0000
Message-ID: <20160121110311.2739.4827@wrigleys.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

The following bug has been logged on the website:

Bug reference:      13879
Logged by:          Andreas Dewes
Email address:      andreas.dewes@7scientists.com
PostgreSQL version: 9.3.10
Operating system:   Ubuntu 14.04 LTS
Description:        

It seems that the `include_dir` directive does not work at all in this
Postgres version. I tested this with a `postgresql.conf` file that looks
like this:

include_dir 'conf.d'

The subdirectory `conf.d` (which sits in the same directory as the
`postgresql.conf` file) contains the files `001_base.conf`,
`002_performance.conf`, `003_replication.conf`.

When I run `pg_lsclusters` (or any other Postgres command), I get `invalid
data directory error`. It therefore seems that the configuration files in
the `conf.d` directory do not get included at all.

If I replace the `include_dir` directive with three explicit `include
'conf.d/001_base.conf'`, ... directives everything works as expected. I also
checked the configuration files for errors to exclude that the loading fails
for that reason, they seem to be fine though (I also removed the 002_ and
003_ files for testing). The log file doesn't reveal any useful information
either. Using the absolute path name of the `conf.d` directory in the
include_dir statement does not help either. Directory and file permissions
are correctly set and the names of the configuration files all end with
`.conf`.

Any ideas?


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (2+ messages)  latest in thread

Message-ID: <20160121110311.2739.4827@wrigleys.postgresql.org>
Permalink:  ../20160121110311.2739.4827@wrigleys.postgresql.org/
Also on:    postgresql.org/message-id/20160121110311.2739.4827@wrigleys.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: andreas.dewes@7scientists.com
  Subject: Re: BUG #13879: include_dir directive not working
  In-Reply-To: <20160121110311.2739.4827@wrigleys.postgresql.org>
  References: <20160121110311.2739.4827@wrigleys.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox