Start-up script for few clusters: just add water?

Поиск
Список
Период
Сортировка
От Eustace Scrubb
Тема Start-up script for few clusters: just add water?
Дата
Msg-id 28363883.post@talk.nabble.com
обсуждение исходный текст
Ответы Re: Start-up script for few clusters: just add water?  (Scott Marlowe <scott.marlowe@gmail.com>)
Re: Start-up script for few clusters: just add water?  (Alvaro Herrera <alvherre@commandprompt.com>)
Re: Start-up script for few clusters: just add water?  (Guillaume Lelarge <guillaume@lelarge.info>)
Список pgsql-general
Hi all,

I've installed Postgres with few instances/clusters, however I've got a
problem with start-up scripts for all clusters. As far as I know the file
postgresql should be modified in the /etc/sysconfig/pgsql directory. The
question is as follows:
Can I paste few clusters in this file? Currently I've got something like
this:

PGPORT=5566
PGDATA=/db/one_cluster

Such script will start only one cluster during server rebooting. Can I just
add more clusters in PGDATA in the file, something like this:

PGPORT=5566
PGDATA=/db/first_cluster
PGPORT=5567
PGDATA=/db/second_cluster
PGPORT=5568
PGDATA=/db/third_cluster

Will it work?

Thanks in advance, Eustace
--
View this message in context:
http://old.nabble.com/Start-up-script-for-few-clusters%3A-just-add-water--tp28363883p28363883.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.


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

Предыдущее
От: Vincenzo Romano
Дата:
Сообщение: Re: Inheritance efficiency
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Table Bloat still there after the Vacuum