Collapse AllExpand All

12.1.2. Save the changes to pg_hba.conf and reload

Once you have made the changes to the configuration file, you must save the file and reload the configuration.

To reload the configuration, you run the pg_ctlcluster utility, specifying the postgres version and cluster name. You will need to run this command as a superuser (sudo). As above, you will need to know the name and version of the postgres cluster you are working with. For example,

>sudo pg_ctlcluster 9.3 main reload

This command will update the configuration on the PostgreSQL server.