Re: two servers on the same port

From: Eric Haszlakiewicz <erh(at)swapsimple(dot)com>
To: pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: two servers on the same port
Date: 2008-10-20 01:59:28
Message-ID: 20081020015928.GA7729@poe.swapsimple.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sat, Oct 18, 2008 at 12:48:13PM -0400, Tom Lane wrote:
> Eric Haszlakiewicz <erh(at)swapsimple(dot)com> writes:
> > I just spent a couple of days trying to figure out why I couldn't start
> > two servers on the same port, even though I was configuring separate
> > listen_address values.
>
> That's already documented not to work, and not for any hidden
> implementation reason: you'd have a conflict on the Unix-domain socket
> name.

er.. but I didn't get any kind of error about a conflict on a unix domain
socket, I got an error about shmget. I don't even think it's possible
to have a conflict like that since the two servers were running in
different chroot directories.

eric

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2008-10-20 02:15:22 Re: two servers on the same port
Previous Message Hitoshi Harada 2008-10-20 01:32:50 Window Functions: buffering strategy