From: Tom Lane <tgl@sss.pgh.pa.us>
To: Nigel J. Andrews <nandrews@investsystems.co.uk>
Cc: acchung@mit.edu, "pgsql-admin@postgresql.org" <pgsql-admin@postgresql.org>
Subject: Re: Missing or Erroneous pg_hba.conf file
Date: Wed, 26 Jun 2002 10:54:31 -0400
Message-ID: <2366.1025103271@sss.pgh.pa.us> (raw)
In-Reply-To: <Pine.LNX.4.21.0206260145370.14254-100000@ponder.fairway2k.co.uk>
References: <Pine.LNX.4.21.0206260145370.14254-100000@ponder.fairway2k.co.uk>
"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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, nandrews@investsystems.co.uk
Subject: Re: Missing or Erroneous pg_hba.conf file
In-Reply-To: <2366.1025103271@sss.pgh.pa.us>
References: <Pine.LNX.4.21.0206260145370.14254-100000@ponder.fairway2k.co.uk> <2366.1025103271@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox