how to restart postgres after changing pg_hba.conf code example Example: refresh postgres config SELECT pg_reload_conf();