reload postgresql with invalid pg_hba.conf

From: jotpe <jotpe(at)posteo(dot)de>
To: pgsql-general(at)postgresql(dot)org
Subject: reload postgresql with invalid pg_hba.conf
Date: 2017-09-18 19:27:12
Message-ID: b316fc2c-0e84-a5ae-d4e1-9f1d68c09ab6@posteo.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

A system administration applied an invalid line into the pg_hba.conf
file and called "service postgresql reload". Since that command doesn't
return any error and leaves with exit code 0 it seams that new
configuration was applied.

Of course postgresql added a warning to the log file: "pg_hba.conf not
reloaded".
But even when I execute SELECT pg_reload_conf(), true is returned.

Is this the desired behavior?

Best regards.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2017-09-18 19:36:00 Re: reload postgresql with invalid pg_hba.conf
Previous Message marcelo 2017-09-18 17:01:52 Call a builtin function from Devart's linqConnect