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.