Я обновил свой postgresql до 9.3, следуя инструкции здесь
Когда я запускаю sudo service postgresql start
, он показывает
* Starting PostgreSQL 9.1 database server
...done.
* Starting PostgreSQL 9.3 database server
...done.
I просто хочу использовать 9.3 сейчас (даже не нужно запускать 9.1) и как мне это сделать?
Автоматический запуск определенного кластера PostgreSQL определяется его файлом start.conf
.
Для основного кластера postgresql 9.1 это /etc/postgresql/9.1/main/start.conf
.
См. Комментарии в начале файла:
# Automatic startup configuration # auto: automatically start/stop the cluster in the init script # manual: do not start/stop in init scripts, but allow manual startup with # pg_ctlcluster # disabled: do not allow manual startup with pg_ctlcluster (this can be easily # circumvented and is only meant to be a small protection for # accidents).