Skip to content

fix: don't leak conn when returning error in pgxv5.WithInstance() (issue #1366)#1365

Open
bdunlap-synack wants to merge 2 commits intogolang-migrate:masterfrom
bdunlap-synack:patch-1
Open

fix: don't leak conn when returning error in pgxv5.WithInstance() (issue #1366)#1365
bdunlap-synack wants to merge 2 commits intogolang-migrate:masterfrom
bdunlap-synack:patch-1

Conversation

@bdunlap-synack
Copy link

@bdunlap-synack bdunlap-synack commented Mar 4, 2026

fixing #1366 leaked conn when error return in pgx/v5.WithInstance()

fixing jackc/pgx#2512 leaked conn when error return
@bdunlap-synack bdunlap-synack changed the title fix issue #2512 fix: issue #2512 Mar 4, 2026
@bdunlap-synack bdunlap-synack changed the title fix: issue #2512 fix: don't leak conn when returning error in pgxv5.WithInstance() (issue #2512) Mar 4, 2026
@bdunlap-synack bdunlap-synack changed the title fix: don't leak conn when returning error in pgxv5.WithInstance() (issue #2512) fix: don't leak conn when returning error in pgxv5.WithInstance() (issue #1366) Mar 4, 2026
@coveralls
Copy link

Coverage Status

coverage: 54.444% (+0.01%) from 54.432%
when pulling 9a1ab23 on bdunlap-synack:patch-1
into 257fa84 on golang-migrate:master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants