Andres Freund <andres@2ndquadrant.com> writes:
> Why don't we just add emit a NOTICE or WARNING in the relevant place
> saying that pg_hba.conf is outdated? Then the server won't log those if
> configured appropriately, which doesn't seem like a bad thing. Note that
> <= ERROR messages aren't sent to the client during authentication.
I think people felt that sending that information to the client wouldn't
be a good idea security-wise. But I'd phrase it as "why not just emit
a LOG message?". I agree that new logging infrastructure seems like
overkill.
regards, tom lane