控制PostgreSQL的哪个版本启动

我有三个版本的Postgres(8.4,9.0,9.1)在我的Ubuntu机器上运行。 每个版本都configuration为在不同的端口上侦听。 当我重新启动机器时,只有9.0版本自动启动。

我可以通过“sudo /etc/init.d/postgresql start 9.1”手动启动其他版本,但我无法弄清楚在服务器启动时将parameter passing给脚本的configuration在哪里。

有人在那里必须知道。

编辑/etc/postgresql/$version/$clustername/start.conf 。 该文件应该很好的自我logging