PostgreSQL

De Banane Atomic
Aller à la navigationAller à la recherche

Links

Installation

Bash.svg
# will install postgresql-libs, postgresql and create a system user called postgres
sudo pacman -S postgresql

Initial configuration

Bash.svg
# switch to the PostgreSQL user
sudo -iu postgres

# initialize the database cluster
initdb -D /var/lib/postgres/data