error:'"D:\Program Files\PostgreSQL\10\pgAdmin 4\bin\pg_restore.exe"' is not recognized as an internal or external command, operable program or batch file.
解决方法:打开pgAdmin 4软件,File --> Preferences --> Binary Path,配置Binary Path
注:Binary Path为PostgreSQL安装路径下的bin目录