pg_ctl
Utility for controlling a PostgreSQL server and database cluster. More information: https://www.postgresql.org/docs/current/app-pg-ctl.html.
- Initialize a new PostgreSQL database cluster:
pg_ctl init
- Start a PostgreSQL server:
pg_ctl start
- Stop a PostgreSQL server:
pg_ctl stop
- Restart a PostgreSQL server:
pg_ctl restart
- Reload the PostgreSQL server configuration:
pg_ctl reload
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
