Postgres - ERROR: prepared statement “S_1” already exists

前端 未结 4 1742
栀梦
栀梦 2020-12-28 15:39

When executing batch queries via JDBC to pgbouncer, I get the following error:

org.postgresql.util.PSQLException: ERROR: prepared statement \"S_1\" already e         


        
4条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-28 16:16

    I had this problem, we have pgbouncer configurated in transaction level, we were using psql 11.8, we just upgraded the psql jar to the latest version, it got fixed.

提交回复
热议问题