Check out example codes for "refresh postgres config". It will help you in understanding the concepts better.

Code Example 1

SELECT pg_reload_conf();

Learn ReactJs, React Native from akashmittal.com