我已使用命令连接数据库
sudo -i -u postgres
Run Code Online (Sandbox Code Playgroud)
\l 在我也尝试\d查看所有可用数据库的列表之后,它不起作用。相反,我得到以下输出:
d:command not found and
l:command not found error is showing
Run Code Online (Sandbox Code Playgroud)
怎么办,如何获取 postgresql 数据库列表?
postgresql ×1