go-gorm / postgres

GORM PostgreSQL driver
MIT License
234 stars 123 forks source link

Upgrade to pgx 5.4.0 or later to fix a memory leak when using preparedStatements #216

Closed Cuppojoe closed 9 months ago

Cuppojoe commented 1 year ago

Describe the feature

Currently this project uses github.com/jackc/pgx/v5 v5.3.1. It would be good to update to at least v5.4.0

Motivation

github.com/jackx/pgx/v5 v5.3.1 has a bug which causes a memory leak when using preparedStatements. versions 5.4.0 and above include this pr as a fix.

Related Issues

https://github.com/jackc/pgx/issues/1456