Re: [GENERAL] Use environment variables in postgresql.conf

2013-12-02 Thread Andrew Sullivan
Hi, On Sat, Nov 30, 2013 at 08:43:53PM -0500, imagene...@gmail.com wrote: > The questions are: > > 1. Has var expansion in configuration files been contemplated? > 2. Why not do it? Several years ago on the -hackers list (I couldn't say how many, but I was still supervising the database operatio

Re: [GENERAL] Use environment variables in postgresql.conf

2013-11-30 Thread David Johnston
imagene...@gmail.com wrote > The questions are: > > 1. Has var expansion in configuration files been contemplated? > 2. Why not do it? 1. Probably 2. More important things to focus on; distros/installers all have their own idea of what is "best" so the decisions have been left to these OS-specifi

Re: [GENERAL] Use environment variables in postgresql.conf

2013-11-30 Thread imagene...@gmail.com
The questions are: 1. Has var expansion in configuration files been contemplated? 2. Why not do it? So the presumed workflow is that: 1. There is no support for environment variable expansion in configuration files 2. Use of environment variable values should only be passed to the "postgres" on

Re: [GENERAL] Use environment variables in postgresql.conf

2013-11-30 Thread Andrew Sullivan
On Sat, Nov 30, 2013 at 06:54:31PM -0500, imagene...@gmail.com wrote: > Is it possible to use environment variables in postgresql.conf and perhaps > related configuration files? > > For example, I would like to use an env variable to specify the data > directory. On top of what John Pierce says i

Re: [GENERAL] Use environment variables in postgresql.conf

2013-11-30 Thread John R Pierce
On 11/30/2013 3:54 PM, imagene...@gmail.com wrote: Is it possible to use environment variables in postgresql.conf and perhaps related configuration files? For example, I would like to use an env variable to specify the data directory. that specific case is generally handled not via postgres

[GENERAL] Use environment variables in postgresql.conf

2013-11-30 Thread imagene...@gmail.com
Is it possible to use environment variables in postgresql.conf and perhaps related configuration files? For example, I would like to use an env variable to specify the data directory.