运行 Ubuntu 17.10 并且我在运行 Postgres 时遇到问题。几周前它还在工作,但现在我遇到了这个问题。
sudo su postgres psql
/usr/bin/psql: line 19: use: command not found
/usr/bin/psql: line 20: use: command not found
/usr/bin/psql: line 21: use: command not found
/usr/bin/psql: line 22: use: command not found
/usr/bin/psql: psql: line 24: syntax error near unexpected token `$version,'
/usr/bin/psql: psql: line 24: `my ($version, $cluster);'
我不知道该怎么做,语法看起来很正常。