The Homebrew package manager includes launchctl plists to start automatically. For more information run brew info postgres.
Start manually:
pg_ctl -D /usr/local/var/postgres -l /usr/local/var/postgres/server.log start
Stop manually:
pg_ctl -D /usr/local/var/postgres stop -s -m fast
本文介绍如何使用Homebrew包管理器安装PostgreSQL,并提供自动启动配置方法。此外还介绍了手动启动和停止PostgreSQL服务的具体步骤。
1803

被折叠的 条评论
为什么被折叠?



