Re: PostgreSQL server won't start, corrupt? - Mailing list pgsql-general

From Raymond O'Donnell
Subject Re: PostgreSQL server won't start, corrupt?
Date
Msg-id 5436F45E.7090505@iol.ie
Whole thread Raw
In response to Re: PostgreSQL server won't start, corrupt?  (John R Pierce <pierce@hogranch.com>)
List pgsql-general
On 09/10/2014 21:44, John R Pierce wrote:
> On 10/9/2014 1:41 PM, Raymond O'Donnell wrote:
>>> >The messages in the log file are: 2014-10-09 12:59:40 PDT LOG:
>>> >invalid connection type "" 2014-10-09 12:59:40 PDT CONTEXT:  line 1
>>> >of configuration file "C:/postgres/pg_hba.conf" 2014-10-09 12:59:40
>>> >PDT FATAL:  could not load pg_hba.conf
>> Well, the error messages seem to indicate that there's a problem with
>> pg_hba.conf, so I'd start by reversing whatever you did there and seeing
>> if that fixes it.
>
> OH!     Notepad probably saved it as Windows Unicode, which is UTF16,
> and put a utf16 byte marker in the first bytes of the file.

I can see the lightbulb flashing on from this side of the Atlantic! :-)

Ray.

--
Raymond O'Donnell :: Galway :: Ireland
rod@iol.ie


pgsql-general by date:

Previous
From: Kevin Grittner
Date:
Subject: Re: Optimal checkpoint_setting
Next
From: John R Pierce
Date:
Subject: Re: PostgreSQL server won't start, corrupt?