pg_ctl Command Examples

Utility for controlling a PostgreSQL server and database cluster. More information: https://www.postgresql.org/docs/current/app-pg-ctl.html.

pg_ctl -D {{data_directory}} init

pg_ctl -D {{data_directory}} start

pg_ctl -D {{data_directory}} stop

pg_ctl -D {{data_directory}} restart

pg_ctl -D {{data_directory}} reload