Postgres crashed on invalid IP entry in pg_hba.conf - Mailing list pgsql-bugs

From pkalva@deg.cc
Subject Postgres crashed on invalid IP entry in pg_hba.conf
Date
Msg-id 1108578986.421392aad28bd@mail.deg.cc
Whole thread Raw
Responses Re: [ADMIN] Postgres crashed on invalid IP entry in pg_hba.conf
List pgsql-bugs

Hi Everybody,

   Yesterday, our production database was crashed as soon as we added an invlid
entry in the pg_hba.conf file. Immediately, after the SIGHUP it tried to read
the pg_hba.conf file and it couldnt validate the IP address and restarted the
postgres server, as soon as we change the pg_hba.conf with the right entry
everything was back to normal. Attached you will see the postgres log file at
the time of the crash. Postgres version we are using is 7.4.2. Is this somekind
of bug ? if so, is it fixed in Postgres 8 ?  shouldnt it just give an error
saying invalid IP address instead of restarting postgres ?

Thanks!
Pallav

pgsql-bugs by date:

Previous
From: "ÔíãÇÁ" "ÓÇãì"
Date:
Subject: O.o.( ÃÓÑÉ ÓíÝ Çááå ).o.O ÈÍÑ ÇáÏãæÚ 2
Next
From: Tom Lane
Date:
Subject: Re: [ADMIN] Postgres crashed on invalid IP entry in pg_hba.conf