Skip to content

Postgres pool close finally#6

Merged
karlcz merged 3 commits intomainfrom
postgres_pool_close_finally
Dec 4, 2025
Merged

Postgres pool close finally#6
karlcz merged 3 commits intomainfrom
postgres_pool_close_finally

Conversation

@karlcz
Copy link
Contributor

@karlcz karlcz commented Dec 4, 2025

Refactor postgresql connection pool usage to explicitly put connections back to the pool (w/ close option) on abnormal exit flows. Also do warning-level logging of the exception on the way out.

@karlcz karlcz merged commit e097682 into main Dec 4, 2025
5 checks passed
@karlcz karlcz deleted the postgres_pool_close_finally branch December 4, 2025 20:27
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.

1 participant