v/vlib/pg
Leonardo Cecchi 51987e17df
pg: make `exec`, `q_int` and `q_strings` return an optional (#6554)
2020-10-04 06:31:47 +02:00
..
pg.v pg: make `exec`, `q_int` and `q_strings` return an optional (#6554) 2020-10-04 06:31:47 +02:00
readme.md Revert "db: increase db module level in vlib " 2020-03-26 09:23:54 +01:00

readme.md

Before you can use this module, you must first have PostgreSQL installed on your system. To do this, find your OS and perform the actions listed.

NOTE: These instructions are meant only as a convenience. If your OS is not listed or you need extra help, go here.

Fedora 31

sudo dnf install postgresql-server postgresql-contrib
sudo systemctl enable postgresql # to autostart on startup
sudo systemctl start  postgresql

Debian 10/11

sudo apt-get install postgresql postgresql-client
sudo systemctl enable postgresql # to autostart on startup
sudo systemctl start  postgresql

MacOSX (Homebrew)

brew install postgresql
brew services start postgresql