我在使用PostgresQL时遇到了一些麻烦。我的PC上安装了最新版本的PostgresQL 11.1。然后我想将PostgresQL重新安装到以前的版本9.6.11,但是遇到了一些问题:(谁能帮我解决这个问题。
我有Windows10。我尝试了一些技巧,例如清晰的regedit
,一些cmd
命令,但没有任何反应。
日志:
Log started 02/12/2019 at 03:19:58
Preferred installation mode : win32
Trying to init installer in mode win32
Mode win32 successfully initialized
[03:20:00] Initializing PostgreSQL installer
[03:20:00] Windows Version is: Windows 10 (10.0)
[03:20:00] Operating System Language is: ru
[03:20:00] Current build_identifier is: 9.6.11-1
[03:20:00] System PATH:
C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;%JAVA_HOME%\bin;C:\Program Files\Git\cmd;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;F:\Google\Cloud SDK\google-cloud-sdk\bin;F:\apache-maven-3.6.0\bin;C:\Program Files\nodejs\;C:\Users\user\AppData\Local\Microsoft\WindowsApps;F:\JetBrains\IntelliJ IDEA 2018.3.1\bin;;C:\Program Files\Java\jdk1.8.0_191\bin;F:\JetBrains\IntelliJ IDEA Community Edition 2018.3.4\bin;;C:\Users\user\AppData\Roaming\npm
[03:20:00] Initializing pg96 variables
[03:20:00] Download url: https://s3.amazonaws.com/pgcentral
[03:20:00] PostgreSQL Locale to install: DEFAULT
Setting variable windows_net_session_exitcode from C:\Users\user\AppData\Local\Temp\postgresql_user/net-session-exit-code.bat
Script exit code: 2
Script output:
0
谢谢。