PostgreSQL¶
Install the driver¶
Configure¶
Or from environment:
Create the database¶
psql -U postgres -c "CREATE DATABASE mydb;"
psql -U postgres -c "CREATE USER myuser WITH PASSWORD 'mypassword';"
psql -U postgres -c "GRANT ALL PRIVILEGES ON DATABASE mydb TO myuser;"
Apply migrations¶
Connection pooling¶
The Buraq engine is pre-configured for PostgreSQL with:
pool_size = 10— maintained connectionsmax_overflow = 20— burst connectionspool_pre_ping = True— validate connections before use
Adjust in settings if needed: