Running multiple instances off one set of binaries

From: Karl Denninger <karl(at)denninger(dot)net>
To: Postgres General <pgsql-general(at)postgresql(dot)org>
Subject: Running multiple instances off one set of binaries
Date: 2013-02-10 03:39:18
Message-ID: 51171666.8090009@denninger.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Let's assume I want to run:

1. An instance of the database that is a replicated copy from another site.

2. A LOCAL instance that contains various things on the local machine
that are not shared.

Let's further assume all are to be 9.2 revs.

Am I correct in that I can do this by simply initdb-ing the second
instance with a different data directory structure, and when starting it
do so with a different data directory structure?

e.g. "initdb -D data"

and

"initdb -D data2"

And that as long as there are no collisions (E.g. port numbers) this
works fine?

--
-- Karl Denninger
/The Market Ticker ®/ <http://market-ticker.org>
Cuda Systems LLC

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Sergey Konoplev 2013-02-10 04:53:22 Re: Running multiple instances off one set of binaries
Previous Message Adrian Klaver 2013-02-09 18:00:43 Re: Tcl & PG on Win 7 64 bit - is it working for anyone?