Windows 2019下安装PostgreSQL11.4

从Windows 2019的“卸载或更改程序”中,可以看到安装的Visual C++版本:

Windows 2019下安装PostgreSQL11.4_第1张图片

------如下取自Windows 2019的事件查看器-应用程序部分---------------
Product: Microsoft Visual C++ 2017 X64 Additional Runtime - 14.16.27024 -- Installation completed successfully.

Product: Microsoft Visual C++ 2017 X64 Minimum Runtime - 14.16.27024 -- Installation completed successfully.

Product: Microsoft Visual C++ 2017 X86 Additional Runtime - 14.16.27024 -- Installation completed successfully.

Product: Microsoft Visual C++ 2017 X86 Minimum Runtime - 14.16.27024 -- Installation completed successfully.
------如上取自Windows 2019的事件查看器-应用程序部分---------------

Microsoft Windows [版本 10.0.17763.379]
(c) 2018 Microsoft Corporation。保留所有权利。

C:\Users\Administrator>e:

E:\>cd E:\Program Files\PostgreSQL\11\bin

E:\Program Files\PostgreSQL\11\bin>psql
用户 Administrator 的口令:
psql: 致命错误:  用户 "Administrator" Password 认证失败

E:\Program Files\PostgreSQL\11\bin>psql -U postgres
用户 postgres 的口令:
psql (11.4)
输入 "help" 来获取帮助信息.

postgres=# select version();
                          version
------------------------------------------------------------
 PostgreSQL 11.4, compiled by Visual C++ build 1914, 64-bit
(1 行记录)


postgres=# \q

E:\Program Files\PostgreSQL\11\bin>wmic os get Caption


Caption=Microsoft Windows Server 2019 Standard


E:\Program Files\PostgreSQL\11\bin>

 

你可能感兴趣的:(Windows,Windows2019)