psql -d postgres -c "SELECT pg_reload_conf();"

Category: Databases & SQL

psql -d postgres -c "SELECT pg_reload_conf();"

Reload configuration without restart

Signals the postmaster to reread configuration files and returns true when the signal was sent. Existing sessions pick up most changes; a few parameters still require a restart. Equivalent to sudo systemctl reload postgresql.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.