Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hdbnf-0002Ct-Gi for pgsql-bugs@arkaria.postgresql.org; Wed, 19 Jun 2019 14:42:59 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hdbne-0000yc-Ba for pgsql-bugs@arkaria.postgresql.org; Wed, 19 Jun 2019 14:42:58 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hdbne-0000yV-3q for pgsql-bugs@lists.postgresql.org; Wed, 19 Jun 2019 14:42:58 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hdbnb-0003PV-SZ for pgsql-bugs@lists.postgresql.org; Wed, 19 Jun 2019 14:42:57 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id x5JEgrHr006925; Wed, 19 Jun 2019 10:42:53 -0400 From: Tom Lane To: Fabio Pardi cc: hiagorad@gmail.com, pgsql-bugs@lists.postgresql.org Subject: Re: BUG #15860: Postgresql service does not start when the pg_hba.conf is changed In-reply-to: <94a6aa7f-76f9-a348-0023-295d356a7daa@portavita.eu> References: <15860-b48180554e025f32@postgresql.org> <94a6aa7f-76f9-a348-0023-295d356a7daa@portavita.eu> Comments: In-reply-to Fabio Pardi message dated "Wed, 19 Jun 2019 16:10:25 +0200" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <6923.1560955372.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Wed, 19 Jun 2019 10:42:53 -0400 Message-ID: <6924.1560955373@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Fabio Pardi 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 th= e >> 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