PostgreSQL: Difference between revisions
Line 3: | Line 3: | ||
"/usr/local/pgsql/data or /var/lib/pgsql/data are popular" | "/usr/local/pgsql/data or /var/lib/pgsql/data are popular" | ||
*in Ubuntu | *in Ubuntu apt-get install postgresql creates /var/lib/postgresql/ | ||
initdb not found | initdb not found | ||
*https://askubuntu.com/questions/371737/install-postgresql-why-is-initdb-unavailable | *https://askubuntu.com/questions/371737/install-postgresql-why-is-initdb-unavailable | ||
*https://superuser.com/questions/513386/setting-up-postgresql-gives-error-sudo-initdb-command-not-found | *https://superuser.com/questions/513386/setting-up-postgresql-gives-error-sudo-initdb-command-not-found |
Revision as of 2018-06-11T19:30:41
Creating cluster
https://www.postgresql.org/docs/10/static/creating-cluster.html
"/usr/local/pgsql/data or /var/lib/pgsql/data are popular"
- in Ubuntu apt-get install postgresql creates /var/lib/postgresql/
initdb not found