pg_ctl 命令在 Ubuntu 20.04 Postgres 14 上没有响应
pg_ctl command gives no reponse on Ubuntu 20.04 Postgres14
我是 Ubuntu 的新手,无法访问 pg_ctl 之类的内容。这里有什么问题?是不是没有安装?或者是别的什么?非常感谢一些帮助
Guy@GuyLinux:~$ sudo -i -u postgres
[sudo] password for guy:
postgres@GuyLinux:~$ psql
psql (14.1 (Ubuntu 14.1-1.pgdg20.04+1))
Type "help" for help.
postgres=# pg_ctl status
Returns无回应
pg_ctl
是一个 shell 命令,不是 Postgres 命令。您在 shell 提示符 ($
) 中输入它,而不是在 psql
实用程序中输入它。
我是 Ubuntu 的新手,无法访问 pg_ctl 之类的内容。这里有什么问题?是不是没有安装?或者是别的什么?非常感谢一些帮助
Guy@GuyLinux:~$ sudo -i -u postgres
[sudo] password for guy:
postgres@GuyLinux:~$ psql
psql (14.1 (Ubuntu 14.1-1.pgdg20.04+1))
Type "help" for help.
postgres=# pg_ctl status
Returns无回应
pg_ctl
是一个 shell 命令,不是 Postgres 命令。您在 shell 提示符 ($
) 中输入它,而不是在 psql
实用程序中输入它。