Repository navigation
[10.0] Fix type mapping for derived tsquery parameters - #4060
Merged
Merged
Conversation
Register built-in NpgsqlTsQuery subclasses with the existing tsquery mapping and cover mapping lookup and Matches query execution. (cherry picked from commit baa07f7) Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 37ecc207-3a95-4ce4-ac27-35975dc5c74f
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Backports #4058 (baa07f7) to
hotfix/10.0.4without changes.Registers all seven built-in
NpgsqlTsQuerysubclasses with the existingtsquerymapping so captured derived-type parameters work in full-text queries. Generic mapping lookup and SQL translation remain unchanged. Includes mapping coverage for the base type and all built-in subclasses, plus sync/asyncMatchesregression coverage.Validated with the branch-selected .NET SDK 10.0.300 and pinned dependencies: 141 type-mapping tests and both functional regressions passed. Functional tests used a dedicated PostgreSQL 17 container, removed after testing.
The separate empty-tsquery serialization issue #886 remains out of scope.
Fixes #3041