-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
4.1.11, 4.5, 4.5.4, 5.0
Pgbouncer after 1.20 added support for some `options` parameters, including the ones that Moodle send by default. But it does not support it in the form Moodle sends (e.g. --client_encoding=utf8). It needs to be sent in the following form: `-c client_encoding=utf8`.
We noticed this because our Moodle platform stopped working after upgrading pgbouncer.
Setting `$CFG->dboptions['dbhandlesoptions'] = true` would solve the problem, but as the 2 parameters set by Moodle (client_encoding=utf8 and standard_conforming_strings=on) are supported by pgbouncer 1.20+, a better fix would be to replace the `--key=val` by `-c key=val` variant.
- is duplicated by
-
MDL-82154 Unable to install to postgres with pgbouncer
-
- Closed
-