私は、同じマシン上で9.1のPostgreSQLを持っていたと同じ、コントロールパネルからアンインストール - >アンインストールプログラム、その後
を私はpostgresql-をインストールしてみました9.5.10-1-窓-x64の、私が手警告:ユーザーから
database cluster initialization failed postgresql 9.5
が\のAppData \ローカル\ Tempに\インストール-postgresql.logを私はエラーを取得以下:
initdb: could not re-execute with restricted token: error code 3 The program "postgres" is needed by initdb but was not found in the same directory as "C:/Program Files/PostgreSQL/10/bin/initdb.exe". Check your installation.
私は以下のソリューションを試してみましたが、それはうまくいきませんでした: