Skip to content

Connection not closed after migration when using NodaTime #3560

@marcusber

Description

@marcusber

I've struggled for a while to understand why I see a connection open. after a migration. It took me a while to understand that it was UseNodaTime() that was behind it.

Here's a program reproducing the error.

I've tried to a bit to troubleshoot the problem and found two things in efcore.pg that may be related. When both was applied, the connection left the pool, but was still open towards the db.
Posting those as separate PRs so you could the determine the relevance.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions