🐘PostgreSQL
When using the PostgreSQL app driver, first configure your PostgreSQL connection credentials using environment variables:
Name | Default | Possible values | Description |
---|---|---|---|
|
| Any string | The PostgreSQL host. |
|
| Any integer | The PostgreSQL port. |
|
| Any string | The PostgreSQL username. |
|
| Any string | The PostgreSQL password. |
|
| Any string | The PostgreSQL database. |
This database supports database connection pooling.
Once you have configured your PostgreSQL database credentials, you should create a table with the following structure:
Environment Variables
The following environment variables are used to define the behavior of the PostgreSQL app driver:
Name | Default | Possible values | Description |
---|---|---|---|
|
| Any string | The table to pull the app data from. |
|
| Any string | The PostgreSQL version (utilized by the underlying Knex database abstraction layer). |
Limits on an app-by-app basis
To enforce app-level limits in PostgreSQL, there are multiple fields:
Setting any of them to null
or ''
will ignore the setting, and use the limits associated with the server-level declared defaults.
Last updated