HINT: pg_hba.conf changed since last config reload - Mailing list pgsql-hackers

From Craig Ringer
Subject HINT: pg_hba.conf changed since last config reload
Date
Msg-id 53E75C0D.6050908@2ndquadrant.com
Whole thread Raw
Responses Re: HINT: pg_hba.conf changed since last config reload
[PATCH] HINT: pg_hba.conf changed since last config reload
List pgsql-hackers
Hi all

I just had an idea I wanted to run by you all before turning it into a
patch.

People seem to get confused when they get auth errors because they
changed pg_hba.conf but didn't reload.

Should we emit a HINT alongside the main auth error in that case?

Given the amount of confusion that I see around pg_hba.conf from new
users, I figure anything that makes it less confusing might be a good
thing if there aren't other consequences.

Interested in a patch?
-- Craig Ringer                   http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training & Services



pgsql-hackers by date:

Previous
From: David Rowley
Date:
Subject: Re: Patch to support SEMI and ANTI join removal
Next
From: Andres Freund
Date:
Subject: Re: HINT: pg_hba.conf changed since last config reload