ubuntu - PostgreSQL default cluster? -


i running postgresql 9.3 on ubuntu 14.04 lts. didn't remember creating cluster directly went create database.

using pg_lsclusters, found have cluster following db

ver cluster port status owner      data directory                9.3 main    5432 online postgres   /var/lib/postgresql/9.3/main  

i reading postgresql documentation couldn't find relevant info.

i have following questions:

  1. does postgresql automatically create default cluster? , if so, practice use it?
  2. does postgresql automatically start default cluster? never started status online , can see in system-monitor.

thanks clarifications!

you're asking "postgresql on debian or ubuntu", it's packaging , wrapper utilities doing this, not postgresql self.

see the postgresql on ubuntu community wiki information. applies debian too, since uses same style of packaging postgresql.

to specific questions:

does postgresql automatically create default cluster? , if so, practice use it?

strictly pg_wrapper, ubuntu/debian tool manages postgresql installs, creates it. yes, it's fine use , there's not reason not to.

does postgresql automatically start default cluster?

this depends on operating system , postgresql packages, not on postgresql self. information on how configure starts on ubuntu, see boot howto - ubuntu community wiki.


Comments

Popular posts from this blog

google chrome - Developer tools - How to inspect the elements which are added momentarily (by JQuery)? -

angularjs - Showing an empty as first option in select tag -

php - Cloud9 cloud IDE and CakePHP -