Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I upgraded my postgresql to 9.3 following the instruction found here

When I run sudo service postgresql start

it shows

 * Starting PostgreSQL 9.1 database server
   ...done.
 * Starting PostgreSQL 9.3 database server
   ...done.

I just want to use 9.3 now, (don't even need to start 9.1) and how do I do that?

share|improve this question

The auto-start of a specific PostgreSQL cluster is specified by its start.conf file.
For a postgresql 9.1 main cluster, it's /etc/postgresql/9.1/main/start.conf.

See the comments at the beginning of the file:

# 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).
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.