Re: How to run 2+ versions of PostgreSQL concurrently

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: How to run 2+ versions of PostgreSQL concurrently
Дата
Msg-id 20383.1069911151@sss.pgh.pa.us
обсуждение исходный текст
Ответ на How to run 2+ versions of PostgreSQL concurrently  (Michael Glaesemann <grzm@myrealbox.com>)
Список pgsql-novice
Michael Glaesemann <grzm@myrealbox.com> writes:
> [about a second installation on an existing machine]
> When initializing the database cluster, I need to create an
> environmental variable (such as PGDATA2) set to the directory where the
> data will be stored.

No, you'd just set PGDATA.

Joe Conway just posted some cleaned-up scripts for working with multiple
installations on-the-fly:
http://archives.postgresql.org/pgsql-patches/2003-11/msg00318.php
This might be overkill for your needs, but I can attest that it covers
all the essential bases.

            regards, tom lane

В списке pgsql-novice по дате отправления:

Предыдущее
От: Michael Glaesemann
Дата:
Сообщение: How to run 2+ versions of PostgreSQL concurrently
Следующее
От: christoph.dellavalle@goetheanum.ch
Дата:
Сообщение: SQL-Statment