PostgreSQL can never accept more than about 125 connections at the same time, my hardware is very powerful!
This happens because some PostgreSQL says that dependent libraries depend on user32.dll, and user32.dll to allocate memory from the Desktop Heap. The desktop heap allocates memory for each login session, allocating approximately 512KB per non-interactive session, while each Postgres.exe process consumes about 3.2KB of the "desktop heap", so that approximately 125 connections can run out of all " Desktop Heap "space. However, this does not happen when running from the command line, because the command line is an interactive logon session, and usually requires only a 3MB size "Desktop Heap". http://support.microsoft.com/kb/184802
To solve this problem, you must increase the size of the noninteractive "Desktop Heap" by modifying the SharedSection value in the registry, as described in the Microsoft Knowledge Base article. It is important to note that setting too high a value can cause the system to fail to start.
Installation failed on Windows2003, reported warning, and no PostgreSQL service
Problem running Post-Install step. Installation correctly
The database cluster initialisation failed
Http://forums.enterprisedb.com/posts/list/3984.page
Andy, this man is PostgreSQL 9.3.5.
http://my.oschina.net/congqian/blog/135590
This person is the postgresql-windows-9.2.4 version.
are related to permissions.
Subsequently consulted with the implementation of the colleagues,
1. Before installation, if installed, please uninstall, and delete the PostgreSQL directory
2. Before installing, create the directory you want to install, such as the D:\xxx\postgresql directory.
Right-click the PostgreSQL folder and set user to have CONTROL permission
3. During installation, select Locale to select Chinese Singnapore
4. Follow the normal installation to succeed.