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