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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [Novice] questions on pg_hba.conf and stopping postmaster in cygwin
Дата
Msg-id 24039.1018305005@sss.pgh.pa.us
обсуждение исходный текст
Ответ на [Novice] questions on pg_hba.conf and stopping postmaster in cygwin  ("Juliet May" <jmay@speark.com>)
Ответы Re: [Novice] questions on pg_hba.conf and stopping  (Chris <csmith@squiz.net>)
Список pgsql-novice
"Juliet May" <jmay@speark.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

В списке pgsql-novice по дате отправления:

Предыдущее
От: "Juliet May"
Дата:
Сообщение: [Novice] questions on pg_hba.conf and stopping postmaster in cygwin
Следующее
От: "Juliet May"
Дата:
Сообщение: Re: [Novice] questions on pg_hba.conf and stopping postmaster in cygwin