Start-up script for few clusters: just add water? - Mailing list pgsql-general

From Eustace Scrubb
Subject Start-up script for few clusters: just add water?
Date
Msg-id 28363883.post@talk.nabble.com
Whole thread Raw
Responses 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>)
List 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 by date:

Previous
From: Vincenzo Romano
Date:
Subject: Re: Inheritance efficiency
Next
From: Tom Lane
Date:
Subject: Re: Table Bloat still there after the Vacuum