We can load config settings updated on pg_hba.conf to postgres database without restarting database using below commands
From Command Prompt:
/usr/bin/pg_ctl reload
Using sql Command from psql:
SELECT pg_reload_conf();
We can load config settings updated on pg_hba.conf to postgres database without restarting database using below commands
From Command Prompt:
/usr/bin/pg_ctl reload
Using sql Command from psql:
SELECT pg_reload_conf();
The information provided in this blog is intended for informational purposes only and reflects the best available knowledge at the time of writing. While every effort has been made to ensure the accuracy and reliability of the content, technologies and practices can evolve over time. Therefore, the solutions, troubleshooting steps, and recommendations presented here may not be applicable to all scenarios or environments.
Readers are encouraged to assess their own environments and test any suggested changes or approaches in a safe, controlled setting before implementing them in production. This blog does not provide official guidance for any specific software or system and does not guarantee that the proposed methods will resolve every issue. For tailored solutions or assistance, readers should consult official documentation, vendor support, or certified professionals in the respective fields.
The content of this blog is provided "as is," and no warranties or representations, express or implied, are made regarding its accuracy, completeness, or suitability for specific use cases. The authors and contributors are not responsible for any consequences that may arise from using or misinterpreting the information provided.