v/vlib/pg
jeffmikels a60b381d5e
docs: adding skeleton README.md files for all vlib modules (#13034)
2022-01-05 18:06:08 +02:00
..
README.md docs: adding skeleton README.md files for all vlib modules (#13034) 2022-01-05 18:06:08 +02:00
oid.v orm: integrate psql to orm (#10933) 2021-07-24 20:49:40 +03:00
orm.v orm: fix time (#11026) 2021-08-03 05:17:00 +03:00
pg.v checker: add an interface check for mutability, fixes #1081, fixes #7038 (#11963) 2021-10-11 15:41:31 +03:00
pg_orm_test.v orm: integrate psql to orm (#10933) 2021-07-24 20:49:40 +03:00

README.md

Description:

pg is a wrapper for the PostgreSQL client library. It provides access to a PostgreSQL DB server.

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