PostgreSQL: Difference between revisions

From annawiki
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 after apt-get install the code is in /var/lib/postgresql/
*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