pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
BUG #15860: Postgresql service does not start when the pg_hba.conf is changed
3+ messages / 3 participants
[nested] [flat]

* BUG #15860: Postgresql service does not start when the pg_hba.conf is changed
@ 2019-06-19 13:56 PG Bug reporting form <noreply@postgresql.org>
  2019-06-19 14:10 ` Re: BUG #15860: Postgresql service does not start when the pg_hba.conf is changed Fabio Pardi <f.pardi@portavita.eu>
  0 siblings, 1 reply; 3+ messages in thread

From: PG Bug reporting form @ 2019-06-19 13:56 UTC (permalink / raw)
  To: pgsql-bugs@lists.postgresql.org; +Cc: hiagorad@gmail.com

The following bug has been logged on the website:

Bug reference:      15860
Logged by:          Hiago Diniz
Email address:      hiagorad@gmail.com
PostgreSQL version: 9.6.13
Operating system:   Windows Server 2008
Description:        

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".



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: BUG #15860: Postgresql service does not start when the pg_hba.conf is changed
  2019-06-19 13:56 BUG #15860: Postgresql service does not start when the pg_hba.conf is changed PG Bug reporting form <noreply@postgresql.org>
@ 2019-06-19 14:10 ` Fabio Pardi <f.pardi@portavita.eu>
  2019-06-19 14:42   ` Re: BUG #15860: Postgresql service does not start when the pg_hba.conf is changed Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 1 reply; 3+ messages in thread

From: Fabio Pardi @ 2019-06-19 14:10 UTC (permalink / raw)
  To: pgsql-bugs@lists.postgresql.org


On 19/06/2019 15:56, PG Bug reporting form wrote:
> The following bug has been logged on the website:
> 
> 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)

regards,

fabio pardi





^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: BUG #15860: Postgresql service does not start when the pg_hba.conf is changed
  2019-06-19 13:56 BUG #15860: Postgresql service does not start when the pg_hba.conf is changed PG Bug reporting form <noreply@postgresql.org>
  2019-06-19 14:10 ` Re: BUG #15860: Postgresql service does not start when the pg_hba.conf is changed Fabio Pardi <f.pardi@portavita.eu>
@ 2019-06-19 14:42   ` Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 3+ messages in thread

From: Tom Lane @ 2019-06-19 14:42 UTC (permalink / raw)
  To: Fabio Pardi <f.pardi@portavita.eu>; +Cc: hiagorad@gmail.com; pgsql-bugs@lists.postgresql.org

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





^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2019-06-19 14:42 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2019-06-19 13:56 BUG #15860: Postgresql service does not start when the pg_hba.conf is changed PG Bug reporting form <noreply@postgresql.org>
2019-06-19 14:10 ` Fabio Pardi <f.pardi@portavita.eu>
2019-06-19 14:42   ` Tom Lane <tgl@sss.pgh.pa.us>

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