Re: Missing or Erroneous pg_hba.conf file - Mailing list pgsql-admin

From Tom Lane
Subject Re: Missing or Erroneous pg_hba.conf file
Date
Msg-id 2366.1025103271@sss.pgh.pa.us
Whole thread Raw
In response to Re: Missing or Erroneous pg_hba.conf file  ("Nigel J. Andrews" <nandrews@investsystems.co.uk>)
List pgsql-admin
"Nigel J. Andrews" <nandrews@investsystems.co.uk> writes:
> On Tue, 25 Jun 2002 acchung@mit.edu wrote:
>> How do I get my pg_hba.conf file back to normal?

> Did wordpad perhaps automatically add a .txt extension?

I'm betting it added CR/LF (\r\n) newlines.  A quick look at the sources
shows that PG does not like \r in pg_hba.conf.  I've made it more
forgiving for 7.3, but for now, you'd better resave with Unix-style
newlines (\n only).

            regards, tom lane



pgsql-admin by date:

Previous
From: "Nick Fankhauser"
Date:
Subject: Re: Missing or Erroneous pg_hba.conf file
Next
From: Cliff Wells
Date:
Subject: Re: error while loading shared libraries: libpq++.so.4