PostgreSQL: Difference between revisions
Created page with "==Creating cluster== https://www.postgresql.org/docs/10/static/creating-cluster.html *https://askubuntu.com/questions/371737/install-postgresql-why-is-initdb-unavailable *http..." |
|||
Line 1: | Line 1: | ||
==Creating cluster== | ==Creating cluster== | ||
https://www.postgresql.org/docs/10/static/creating-cluster.html | https://www.postgresql.org/docs/10/static/creating-cluster.html | ||
"/usr/local/pgsql/data or /var/lib/pgsql/data are popular" | |||
*in Ubuntu after apt-get install the code is in /var/lib/postgresql/ | |||
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:28:54
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 after apt-get install the code is in /var/lib/postgresql/
initdb not found