pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Fabio Pardi <f.pardi@portavita.eu>
Cc: hiagorad@gmail.com
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #15860: Postgresql service does not start when the pg_hba.conf is changed
Date: Wed, 19 Jun 2019 10:42:53 -0400
Message-ID: <6924.1560955373@sss.pgh.pa.us> (raw)
In-Reply-To: <94a6aa7f-76f9-a348-0023-295d356a7daa@portavita.eu>
References: <15860-b48180554e025f32@postgresql.org>
	<94a6aa7f-76f9-a348-0023-295d356a7daa@portavita.eu>

Fabio Pardi <f.pardi@portavita.eu> writes:
> On 19/06/2019 15:56, PG Bug reporting form wrote:
>> When I add a line on the file using the format "local    all        all     
>> xx.xx.0.0/16    md5" the windows service does not start and gives on the
>> event viewer the error "Timed ou waiting for server startup".

> I think that is legit, since the correct format should be:
> local   all     all         md5
> and no IP specified (else you should use 'host' instead of local)

Yeah.  Also, the OP is on a Windows machine, and there's no point at
all in using "local" entries on Windows.  Those apply to Unix-socket
connections, which is a concept Windows hasn't got.  Instead use a
"host" line matching 127.0.0.1, and/or one for ::1 for IPV6.

			regards, tom lane





view thread (3+ messages)

Message-ID: <6924.1560955373@sss.pgh.pa.us>
Permalink:  ../6924.1560955373@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/6924.1560955373@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, f.pardi@portavita.eu, hiagorad@gmail.com
  Subject: Re: BUG #15860: Postgresql service does not start when the pg_hba.conf is changed
  In-Reply-To: <6924.1560955373@sss.pgh.pa.us>
  References: <15860-b48180554e025f32@postgresql.org> <94a6aa7f-76f9-a348-0023-295d356a7daa@portavita.eu> <6924.1560955373@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox