From: | Matthew <matt(at)ctlno(dot)com> |
---|---|
To: | "'newsreader(at)mediaone(dot)net'" <newsreader(at)mediaone(dot)net>, pgsql-general(at)postgresql(dot)org |
Subject: | RE: run both 7.0.3 and 7.1 |
Date: | 2001-04-11 18:23:00 |
Message-ID: | 183FA749499ED311B6550000F87E206C1FD0D6@srv.ctlno.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Yes... with 7.1 you can specify the location of the Unix socket file. If
you want to connect to the 7.1 server you will have to specify the which
Unix socket file to use. This is done with the host option ( the -h option
) as the path to the file. For example if you specified the Unix file to be
located in the /usr/local/pg71 directory, you would do:
psql -h /usr/local/pg71
I think in this way, you can run as many copies of 7.1 as you would like as
long as they are all located in different directories. The location of the
Unix socket file is specified in the new Grand Unified Configuration (GUC)
file, so you don't have to recompile to set it.
Hope that helps.
Matt O'Connor
> -----Original Message-----
> From: newsreader(at)mediaone(dot)net [SMTP:newsreader(at)mediaone(dot)net]
> Sent: Wednesday, April 11, 2001 10:17 AM
> To: pgsql-general(at)postgresql(dot)org
> Subject: Re: [GENERAL] run both 7.0.3 and 7.1
>
> I don't want to accept outside
> connections i.e. I don't want to use
> -i switch. Is that still possible?
>
> On Wed, Apr 11, 2001 at 05:22:47PM +0200, Peter Eisentraut wrote:
> > newsreader(at)mediaone(dot)net writes:
> >
> > > Is it possible to run both 7.0.3 and 7.1
> > > on the same server? I don't mind
> > > having two separate directories and I think
> > > I can run two for outside connection
> > > but using different ports. What I would
> > > like to do is to have both servers listen
> > > to the local connection only.
> >
> > As long as you use different data directories and different ports you
> > should be fine. Possibly you need to configure your system for more
> > shared memory and/or semaphores.
> >
> > --
> > Peter Eisentraut peter_e(at)gmx(dot)net http://yi.org/peter-e/
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
From | Date | Subject | |
---|---|---|---|
Next Message | Nick T | 2001-04-11 18:32:50 | anti Christian bias? |
Previous Message | Chris Jones | 2001-04-11 17:38:24 | Re: PHP question |