Eustace Scrubb wrote:

> 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?

Certainly not.  You could add a loop that sets the variables and calls
the start code, but it's new code you'd add, not just those lines above.

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

-- 
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

Reply via email to