Postgresql conf files? SOLVED

Michael Hipp Michael
Fri Nov 5 10:03:13 PST 2004


Net Llama! wrote:

> 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

Thanks, that put me on the right trail. Turns out in Cygwin it is 
generally /var/postgresql/data. I'll try the RH9 box next.

Thanks again,
Michael


More information about the Linux-users mailing list