http://eweiibe6tdjsdprb4px6rqrzzcsi22m4koia44kc5pcjr7nec2rlxyad.onion/help/administration/troubleshooting/postgresql.md
If an external database, such as a customer's PostgreSQL installation
or Amazon RDS is being used, these values don't get set, and would have to be set externally.
Temporarily changing the statement timeout
WARNING:
The following advice does not apply in case
PgBouncer is enabled,
because the changed timeout might affect more transactions than intended.