Added restart of postgresql server after editing pg_hba.conf.