Re: 2 postgresql server on the same station : conflict? - Mailing list pgsql-general

From Andreas Kretschmer
Subject Re: 2 postgresql server on the same station : conflict?
Date
Msg-id 20130528102709.GA21179@tux
Whole thread Raw
In response to Re: 2 postgresql server on the same station : conflict?  (Raymond O'Donnell <rod@iol.ie>)
List pgsql-general
Raymond O'Donnell <rod@iol.ie> wrote:

> On 28/05/2013 10:57, image wrote:
> > Hello,
> >
> > On the same station, i have 2 postgresql server: one for my postgis db
> > (v9.1) and so another installed with opener^7 (9.2). Unfortunalty, i noticed
> > i'm obliged to stop service for my postgresql postgis (9.1) in order to use
> > openerp7 (postgres9.2). I 'm surprised about that. There is there a way to
> > use these two servers at the same time?
>
> Yes, absolutely - just run them on different ports (assuming you're
> connecting on TCP/IP). Set the "port" directive in postgresql.conf, and
> restart.

Not only different ports: different data directories.

But why 2 databases? PostGIS works well with 9.2, he can use ONE
database config/server for both tasks.


Andreas
--
Really, I'm not out to destroy Microsoft. That will just be a completely
unintentional side effect.                              (Linus Torvalds)
"If I was god, I would recompile penguin with --enable-fly."   (unknown)
Kaufbach, Saxony, Germany, Europe.              N 51.05082°, E 13.56889°


pgsql-general by date:

Previous
From: DT
Date:
Subject: What are ExecSeqMarkPos and ExecSeqRestrPos used for
Next
From: Michael Paquier
Date:
Subject: Re: Success stories of PostgreSQL implementations in different companies