Re: [GENERAL] SYSCONFDIR, initdb and postgresql.conf

2010-11-21 Thread KM
On 2010-11-21, Tom Lane wrote: > SYSCONFDIR is only used for global configuration files, like the default > psqlrc or pg_service.conf. OK, so it doesn't regard postgresql.conf and friends as conf files in that sense. > It would be pretty inappropriate to put postgresql.conf there > because postg

Re: [GENERAL] SYSCONFDIR, initdb and postgresql.conf

2010-11-21 Thread Tom Lane
KM writes: > On an OpenBSD machine I just compiled and installed 9.0.1. The > ./configure arguments included '--sysconfdir=/etc'. Running > 'pg_config --sysconfdir' returns '/etc/postgresql'. The cluster is > running and I can create a database and connect to it. > However, initdb put the conf

[GENERAL] SYSCONFDIR, initdb and postgresql.conf

2010-11-20 Thread KM
On an OpenBSD machine I just compiled and installed 9.0.1. The ./configure arguments included '--sysconfdir=/etc'. Running 'pg_config --sysconfdir' returns '/etc/postgresql'. The cluster is running and I can create a database and connect to it. However, initdb put the config files in the direct

Re: [GENERAL] sysconfdir

2001-04-22 Thread Peter Eisentraut
Bruce Richardson writes: > Is there any way to tell where postgres is looking for it's config file, > or to tell it where to look? I compiled the 7.1RC4 source tarball with > --prefix=/usr/local (and using stow to keep things tidy in /usr/local) > but it is entirely ignoring the postgresql.conf

[GENERAL] sysconfdir

2001-04-22 Thread Bruce Richardson
Is there any way to tell where postgres is looking for it's config file, or to tell it where to look? I compiled the 7.1RC4 source tarball with --prefix=/usr/local (and using stow to keep things tidy in /usr/local) but it is entirely ignoring the postgresql.conf and pg_hba.conf files. -- Bruce