Re: Authentication configuration for local connections on Windows - Mailing list pgsql-general

From Raymond O'Donnell
Subject Re: Authentication configuration for local connections on Windows
Date
Msg-id 4EC59FB7.2040904@iol.ie
Whole thread Raw
In response to Authentication configuration for local connections on Windows  (deepak <deepak.pn@gmail.com>)
List pgsql-general
On 17/11/2011 23:41, deepak wrote:
> Hi !
>
> When attempting to start Postgres 9.1.1 with hba conf for "local"
> connections on Windows, I get an error.
>
> e.g. I tried adding the following line to pg_hba.conf
> local    all          user1                               trust
>
> and I get:
> pg_ctl -D pgsql\data -w start
> waiting for server to start....LOG:  local connections are not supported
> by this build
> CONTEXT:  line 92 of configuration file "C:/pg/pgsql/data/pg_hba.conf"
> FATAL:  could not load pg_hba.conf
> .... stopped waiting
> pg_ctl: could not start server
>
>
> Although, it is not clear what options I have to use while
> building/configuring?
> This same configuration used to work with Postgres 9.0.3, though.
>
> Any thoughts?

On Windows you need to use a "host" line, as Unix sockets aren't available.

Ray


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

pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: Authentication configuration for local connections on Windows
Next
From: Ivan Voras
Date:
Subject: Re: Session variables and C functions