Re: 2 postgresql processes on the same machine ? - Mailing list pgsql-general

From Oliver Elphick
Subject Re: 2 postgresql processes on the same machine ?
Date
Msg-id 1090501762.5446.18.camel@braydb
Whole thread Raw
In response to 2 postgresql processes on the same machine ?  ("Jean-Guillaume LALANNE" <jeanguillaume.lalanne@capgemini.com>)
List pgsql-general
On Thu, 2004-07-22 at 14:02, Jean-Guillaume LALANNE wrote:
...
> I'd like to know if it is possible to run 2
> postgresql processes with 2 separate databases on the
> same machine (change of the ports, different paths to
> logs, ...)?

Certainly.

Each running postmaster needs a different port and a different database
cluster directory ($PGDATA); as you suggest, a separate log file would
also be a good idea.

If they are running under separate usernames, you need to make sure that
they both have permission to write in the socket directory, or else have
different socket directories.

Oliver Elphick


pgsql-general by date:

Previous
From: "Jean-Guillaume LALANNE"
Date:
Subject: 2 postgresql processes on the same machine ?
Next
From: Prabu Subroto
Date:
Subject: polating (insert into...) a table with determined record from another table.