Thread: Re: Re: [PATCHES] PostgreSQL virtual hosting support

Re: Re: [PATCHES] PostgreSQL virtual hosting support

From
Tom Lane
Date:
djm@web.us.uu.net (David J. MacKenzie) writes:
> but the 7.0 method of computing the socket file name (based
> only on the port number) doesn't work for multiple instances
> listening on the same port on different IP addresses.

I was afraid you were planning to run that way.  Did you absorb the
point about shared memory keys being based (only) on the port number?
Unless something's done about that, the above configuration will NOT
work, because the different instances will try to use the same
shared memory and semaphore sets.
        regards, tom lane