From: | Chris <csmith(at)squiz(dot)net> |
---|---|
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 |
Date: | 2002-04-08 23:05:38 |
Message-ID: | 5.1.0.14.0.20020409090422.00b02240@cooee.cybersydney.com.au |
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?
Cygwin has "vi", most likely has emacs too.
There are quite a few editors out there that are a bit more advanced than
notepad, just do a quick search on google :)
-----------------
Chris Smith
http://www.squiz.net/
Tel: 02 9568 6866
Fax: 02 9568 6733
From | Date | Subject | |
---|---|---|---|
Next Message | Tim Wilson | 2002-04-09 03:50:18 | failed SQL CREATE TABLE |
Previous Message | Juliet May | 2002-04-08 22:38:09 | Re: [Novice] questions on pg_hba.conf and stopping postmaster in cygwin |