PostgreSQL Introduction

PostgreSQL Introduction

pkg_add postgresql15-server - install PostgreSQL 15
pkg_add postgresql15-contrib - additional modules
postgresql-setup init - initialize database cluster
pg_ctl start -D /var/postgres - start server
su - postgres - switch to postgres user"

Article author: Arthur Isaev