From a32200be2f4501bf65ddcabd3d78585ef1b2374b Mon Sep 17 00:00:00 2001 From: Malin Freeborn Date: Tue, 6 Oct 2020 19:54:13 +0200 Subject: [PATCH] add postgres notes for arch --- data/sql/postgresql.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/data/sql/postgresql.md b/data/sql/postgresql.md index bbafd74..20714f7 100644 --- a/data/sql/postgresql.md +++ b/data/sql/postgresql.md @@ -4,6 +4,12 @@ Install postgres and start it as a service, then start with: > psql +## Arch setup + +> su -l postgres + +> initdb -D /var/lib/postgres/data + ## Make a database as the new user postgres > sudo su postgres