小编dab*_*aba的帖子

无法在 Windows 10 上更改 psql 中的目录。PostgreSQL 11

我在 Windows 10 上下载了本地 PosgreSQL 11。

我尝试将命令行窗口上的 psql 中的目录更改为 c:\Program Files\PostgreSQL\11\bin>

我收到无效命令或目录不存在

我尝试跟随

postgres=# cd c:\Program Files\PostgreSQL\11\bin
Invalid command \Program. Try \? for help.
postgres-# \cd c:\Program Files\PostgreSQL\11\bin
Invalid command \Program. Try \? for help.
postgres-# \cd..
Invalid command \cd... Try \? for help.
postgres-# \cd ..
postgres-# \cd Program Files
\cd: could not change directory to "Program": No such file or directory
Run Code Online (Sandbox Code Playgroud)

我什至不确定当前目录,因为无法识别 pwd:

postgres-# \! pwd
'pwd' is not recognized as an internal or external command,
operable program …
Run Code Online (Sandbox Code Playgroud)

windows psql postgresql-11

6
推荐指数
1
解决办法
9094
查看次数

标签 统计

postgresql-11 ×1

psql ×1

windows ×1