Handle pg_hba dynamically