pg.ddx.io pgsql-bugs@postgresql.org mailing list archivehelp / color / mirror / Atom feed
BUG #13879: include_dir directive not working 2+ messages / 2 participants [nested] [flat]
* BUG #13879: include_dir directive not working @ 2016-01-21 11:03 andreas.dewes@7scientists.com 2016-01-22 04:22 ` Re: BUG #13879: include_dir directive not working Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 1 reply; 2+ messages in thread From: andreas.dewes@7scientists.com @ 2016-01-21 11:03 UTC (permalink / raw) To: pgsql-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 ^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: BUG #13879: include_dir directive not working 2016-01-21 11:03 BUG #13879: include_dir directive not working andreas.dewes@7scientists.com @ 2016-01-22 04:22 ` Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 2+ messages in thread From: Tom Lane @ 2016-01-22 04:22 UTC (permalink / raw) To: andreas.dewes@7scientists.com; +Cc: pgsql-bugs andreas.dewes@7scientists.com writes: > It seems that the `include_dir` directive does not work at all in this > Postgres version. AFAICT, it works just fine: at least, the Postgres server doesn't have any problem with it that I can see. > When I run `pg_lsclusters` (or any other Postgres command), I get `invalid > data directory error`. This sounds like a bug in pg_lsclusters, which you should report to the authors thereof. That program is not a part of the core Postgres distribution. I think the Debian/Ubuntu packagers are probably the right people to report to. regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2016-01-22 04:22 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2016-01-21 11:03 BUG #13879: include_dir directive not working andreas.dewes@7scientists.com 2016-01-22 04:22 ` Tom Lane <tgl@sss.pgh.pa.us>
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