The following bug has been logged on the website:
Bug reference: 6689
Logged by: Mark
Email address: ms(at)it-infrastrukturen(dot)org
PostgreSQL version: 9.1.3
Operating system: unbuntu-server 12.04 LTS
Description:
When using /var/run/postgresql/ as unix_socket_directory for "main" and
"second" pgcluster and different IP-interfaces (addresse) for every
pgcluster (but the same default port number), there are different pid file
names (like 9.1-main.pid and 9.1-secondpg.pid) *but* names of unix_sockek
files doesn't follow such name conventions.
It results in error when trying to run the second pgcluster with another IP
but the same (default port 5432):
Error: Port conflict: another instance is already running on on
/var/run/postgresql with port 5432
regards, Mark