Menu

#771 Can't connect to PostgreSQL 12 trough PgBouncer

Git
closed-fixed
nobody
None
5
2021-02-06
2020-12-07
No

Hello,

We can't connect to a PostgreSQL 12 instance trough PgBouncer, Adminer returns :

 SQLSTATE[08006] [7] ERROR: unsupported startup parameter: options

It seems that PgBouncer does not support client options like --client-encoding=utf8.

On https://github.com/pgbouncer/pgbouncer/issues/295, you can see there is a workaround with the PDO connection string.

I don't know if it will work with every version of PDO and PostgreSQL, though.

Discussion

  • Jakub Vrána

    Jakub Vrána - 2021-02-06
    • status: open --> closed-fixed
     
  • Jakub Vrána

    Jakub Vrána - 2021-02-06

    It's supported since PostgreSQL 9.1.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.