Received: from magus.postgresql.org (magus.postgresql.org [87.238.57.229]) by mail.postgresql.org (Postfix) with ESMTP id 89515FD3E1E for ; Tue, 12 Jun 2012 15:45:21 -0300 (ADT) Received: from mahout.postgresql.org ([98.129.198.123]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1SeW5e-0007Cs-8o for pgsql-bugs@postgresql.org; Tue, 12 Jun 2012 18:45:20 +0000 Received: from [204.145.124.246] (helo=wrigleys.postgresql.org) by mahout.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1SeW5Q-0005fi-IM for pgsql-bugs@postgresql.org; Tue, 12 Jun 2012 18:45:05 +0000 Received: from www-data by wrigleys.postgresql.org with local (Exim 4.72) (envelope-from ) id 1SeW5Q-0003up-3S for pgsql-bugs@postgresql.org; Tue, 12 Jun 2012 18:45:04 +0000 Date: Tue, 12 Jun 2012 18:45:04 +0000 Message-Id: Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Subject: BUG #6689: socket file name convention doesn't allow different IPs and the same port for different pgclusters To: pgsql-bugs@postgresql.org From: ms@it-infrastrukturen.org X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201206/129 X-Sequence-Number: 33356 The following bug has been logged on the website: Bug reference: 6689 Logged by: Mark Email address: ms@it-infrastrukturen.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