Postgresql conf files?

Net Llama! netllama
Fri Nov 5 09:40:18 PST 2004


On Fri, 5 Nov 2004, Michael Hipp wrote:
> Where does postgresql want its configuration files to be stored?

Whereever was configured when it was compiled.  For the RPMs, its usually
/var/lib/pgsql/database/

>
> The sample files seem to always be located in /usr/share/postgresql (I
> expected somewhere in /etc). But it won't seem to read them under any
> circumstances.
>
> The one I'm wrestling with at the moment is on a Cygwin installation,
> but I'm having the same problem on a RH9 box.

If you're using either Redhat's of the official PostgreSQL RPMs, then they
are in /var/lib/pgsql/database/.  THe two files that count are
postgresql.conf and pg_hba.conf

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Lonni J Friedman                                netllama at linux-sxs.org
Linux Step-by-step & TyGeMo                  http://netllama.ipfox.com


More information about the Linux-users mailing list