Open Myshiner opened 8 months ago
You should start by checking here: https://www.postgresql.org/docs/16/libpq-connect.html#LIBPQ-CONNSTRING
For the record, you can use options
in the connection string, e.g.:
$ psql "host=localhost user=postgres options='-c statement_timeout=10'"
psql (17beta1)
Type "help" for help.
postgres=# SHOW statement_timeout ;
statement_timeout
-------------------
10ms
(1 row)
@Myshiner do you need anything else from us?
I got some errors like that "DETAILS: pg_start_backup(): canceling statement due to statement timeout" in backup log file and then backup task failded. so i wonder if i can set the postgresql database parameter "statement_timeout" in backup config file .