Skip to content

Fix PgVector ReloadTypesAsync compatibility with newer Npgsql#13706

Open
WyRainBow wants to merge 2 commits intomicrosoft:mainfrom
WyRainBow:feature/fix-13675
Open

Fix PgVector ReloadTypesAsync compatibility with newer Npgsql#13706
WyRainBow wants to merge 2 commits intomicrosoft:mainfrom
WyRainBow:feature/fix-13675

Conversation

@WyRainBow
Copy link

@WyRainBow WyRainBow commented Mar 26, 2026

Summary

  • fix PgVector runtime compatibility when Npgsql exposes ReloadTypesAsync(CancellationToken) instead of the no-arg overload
  • avoid direct binding to a single method signature in PostgresCollection
  • use runtime-compatible method resolution in PostgresUtils

Validation

  • dotnet test dotnet/test/VectorData/PgVector.UnitTests/PgVector.UnitTests.csproj

@WyRainBow WyRainBow requested a review from a team as a code owner March 26, 2026 03:39
@WyRainBow
Copy link
Author

@microsoft-github-policy-service agree

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