Re: [Novice] questions on pg_hba.conf and stopping postmaster in cygwin

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Juliet May" <jmay(at)speark(dot)com>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: [Novice] questions on pg_hba.conf and stopping postmaster in cygwin
Date: 2002-04-08 22:30:05
Message-ID: 24039.1018305005@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

"Juliet May" <jmay(at)speark(dot)com> writes:
> The postmaster log says ' "arse_hba: invalid syntax in pg_hba.conf file at =
> line 1, token "trust'

This looks like you've got DOS-style newlines (CR/LF) rather than
Unix-style (LF only) in the pg_hba.conf file. The pg_hba code is
picky about that. (Probably it shouldn't be, but that won't help you
today.)

> I edited the pg_hba.conf file in notepad and I think that could be causing =
> the error. Is there another option for editing the file that I should use?

Dunno if Notepad has heard that there are other conventions for line
endings besides Microsoft's. Can anyone recommend a better choice of
editor?

regards, tom lane

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Juliet May 2002-04-08 22:38:09 Re: [Novice] questions on pg_hba.conf and stopping postmaster in cygwin
Previous Message Juliet May 2002-04-08 21:43:30 [Novice] questions on pg_hba.conf and stopping postmaster in cygwin