21 lines
868 B
Markdown
21 lines
868 B
Markdown
# Voile PostgreSQL Driver
|
|
|
|
This program is intended to connect Voile to a PostgreSQL 17 or PostgreSQL 18 database.
|
|
For older PostgreSQL versions, another driver will be needed.
|
|
|
|
## Setting up PostgreSQL
|
|
|
|
1. Install the database or run it in a container.
|
|
HINT: `docker run -d --restart=unless-stopped --name postgres -p 5432:5432 -e POSTGRES_PASSWORD=12345 -v /data/postgres:/var/lib/postgresql postgres:18.1-alpine3.23`
|
|
|
|
2. Connect to the PostgreSQL Database using any administration utility and create a database and a user for Voile:
|
|
|
|
`CREATE DATABASE voile;
|
|
CREATE USER voile WITH ENCRYPTED PASSWORD '12345';
|
|
GRANT ALL PRIVILEGES ON DATABASE voile to voile;`
|
|
|
|
3. Now set your administration utility to connect to the "voile" database and give the "voile" user access to the public schema:
|
|
|
|
`GRANT ALL ON SCHEMA public TO voile;`
|
|
|
|
4. You're all set, happy DXing! |