安装详细教程:https://blog.csdn.net/antma/article/details/83579920
遇到问题:error running icacls
类似:https://blog.csdn.net/sinat_36226553/article/details/100750378所述
解决办法:
从以下官方链接下载即可。
https://get.enterprisedb.com/postgresql/postgresql-11.2-1-windows-x64.exe