pg_ctl: server does not shut down
当我用psql显示时:
psql: FATAL: the database system is shutting down
并在日志中写下这些消息
DEBUG: postmaster received signal 15 2011-07-14 09:36:00 ETC/GMT LOG: received smart shutdown request
请告诉我如何解决?
您可能希望使用“快速”关闭(通过执行pg_ctl -m fast),这也将断开现有用户的连接.
对于Debian(默认情况下pg_ctl不是$PATH):
pg_ctlcluster 9.4 main restart -m fast