I coat the windows postgersql, execution psql under dos, display command does not exist, use postgresql own shell execution psql -U postgres -W -f 脚本文件
is also no response.
Then go to the service of the posql service stops and its properties in the set is prohibited from the start .
Then wsl, enter sudo service postgres start 11
on it
with the command psql -U postgres -W -f /mnt/d/......./XXXXXX.sql
to execute the script
wsl start psql
Guess you like
Origin blog.csdn.net/qq_40484416/article/details/104671763
Recommended
Ranking