Re: running two servers on one machine - Mailing list pgsql-general

From Adrian Klaver
Subject Re: running two servers on one machine
Date
Msg-id 200903300710.21009.aklaver@comcast.net
Whole thread Raw
In response to Re: running two servers on one machine  (Eric Smith <eric_h_smith@mac.com>)
Responses Re: running two servers on one machine  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
On Sunday 29 March 2009 7:59:19 pm Eric Smith wrote:
> Thomas,
>
> When I start the servers, I use different ports via the -p option.  Is
> that equivalent to using different listener ports in postgresql.conf?
>
> Thanks,
> Eric
>

I think you are going to have to show us the exact command you are using. If you
are using postgres -p then that is the port switch. If you are doing pg_ctl -p
then p designates the path to the executable. See below for more details:
http://www.postgresql.org/docs/8.3/interactive/reference-server.html

--
Adrian Klaver
aklaver@comcast.net

pgsql-general by date:

Previous
From: Dave Page
Date:
Subject: Re: Installing PLPython - Version Problem
Next
From: Tom Lane
Date:
Subject: Re: running two servers on one machine