Problems Installing PostgreSQL 9.2

前端 未结 11 1704
野趣味
野趣味 2020-12-15 12:05

I\'ve been trying to install the 64bit version of PostgreSQL 9.2 for Windows on my machine (Windows 7 64bit) and get this error:

The environment variable COMPS

11条回答
  •  青春惊慌失措
    2020-12-15 13:03

    I had a similar problem. After installation, the data folder contained no postgres.conf file. It only contained a single folder named "pg_log". I described the solution that I used here: Postgres Installation Error reading file postgresql.conf

    Basically, it would be helpful to check if the user has full permissions for the postgres folder, and run "init_db" and "pg_ctl start" commands again. If the path contains a space character, try using a relative path for the pg_ctl data folder argument.

提交回复
热议问题