Tags · enginekit/npgsql

Fix connection close with open reader

We previously had an optimization whereby an open reader at connection close
time was closed asynchronously to return control to the user earlier. This
seems to be incompatible with ASP.NET, which doesn't allow async in
arbitrary places.

Removed the optimization, if an open reader exists when closing a connection,
it will be closed synchronously.

Also refactored and fixed closing behavior for non-pooled connectors.

Fixes npgsql#666

(cherry picked from commit 8bce3ca)
Silence useless type loading warnings

When loading types, some warnings were logged about arrays with absent element
types. This was because the element types weren't loaded, because they had no
binary I/O functions. Added an IgnoredType set.

(cherry picked from commit 2e248d1)

v2.2.4.3

Toggle v2.2.4.3's commit message

And one last version bump, this time with AssemblyVersion