From: | Lamar Owen <lamar(dot)owen(at)wgcr(dot)org> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
Cc: | Oliver Elphick <olly(at)lfix(dot)co(dot)uk>, Vince Vielhaber <vev(at)michvhf(dot)com>, "J(dot) M(dot) Brenner" <doom(at)kzsu(dot)stanford(dot)edu>, pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: location of the configuration files |
Date: | 2003-02-16 00:36:51 |
Message-ID: | 200302151936.51891.lamar.owen@wgcr.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Friday 14 February 2003 15:10, Tom Lane wrote:
> I don't see why we don't just let initdb install suggested config files
> into the new $PGDATA directory, same as it ever did.
Ok, let me take another tack.
Just exactly why does initdb need to drop any config files anywhere? We
provide templates; initdb can initialize the data structure. If we can by
default (as part of make install) put the config file templates in
$SYSCONFDIR (as set by ./configure), then why does initdb need to retouch
them? I say that having configured PostgreSQL like this: (this is for 7.2.4,
not 7.3.x)
--enable-locale --with-CXX --prefix=/usr --disable-rpath --with-perl
--enable-multibyte --with-tcl --with-odbc --enable-syslog --with-python
--with-openssl --with-pam --with-krb5=/usr/kerberos --enable-nls
--sysconfdir=/etc/pgsql --mandir=/usr/share/man --docdir=/usr/share/doc
--includedir=/usr/include --datadir=/usr/share/pgsql
So, in my case, it would be preferable to me for initdb to not make a default
postgresql.conf, pg_hba.conf, and pg_ident.conf. The make install process
should populate sysconfdir (/etc/pgsql here) with those files.
Why does initdb even need to be involved now (I know the historical reason)?
Comments?
--
Lamar Owen
WGCR Internet Radio
1 Peter 4:11
From | Date | Subject | |
---|---|---|---|
Next Message | Lamar Owen | 2003-02-16 00:38:23 | Re: location of the configuration files |
Previous Message | Ian Barwick | 2003-02-16 00:34:34 | Re: Todo "claim": psql tab completion on schema names |