Because of a project requirement, you need to install PostgreSQL, and the installation files for. exe are downloaded to run.
It was a smooth start. Install to the end, initialize the database when there is a bloody dialog box (here to draw a circle curse Microsoft, he jumped out of the error dialog box is never used) cloud:
Exception processing message c0000135 Parameters 759851d8 759851d8 759851d8 759851d8
It is also a mistake to run initdb manually.
So to Google search, the answer is very few, but seems to be discussing the issue of user rights.
Is it because I chose to install to a non-C partition? Add everyone's permissions to the other partitions, install again, the problem remains.
Then it's crazy. Other related methods: to Postgres users to set administrator rights, replace PostgreSQL version, swap postgres run initdb ... The damn dialog box will still jump out.
Just when I was about to give up, I didn't mean to http://www.yuzifu.net/index.php/2008/05/%E5%AE%89%E8%A3%85postgresql-82%E5%A4%B1%E8%B4%A5/. found the answer.
The user security options for the other partitions you need to use are set to be the same as the C partition, and one of the list should be small ...
To solve this problem, is really an unreasonable problem ... Alas