Repository navigation
[9.0] Fix type mapping for derived tsquery parameters - #4059
Merged
Merged
Conversation
Backport #4058 to hotfix/9.0.5. Register the built-in NpgsqlTsQuery subclasses with the existing tsquery mapping and adapt sync/async regression coverage to the 9.0 full-text test fixture. (cherry picked from commit baa07f7) Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 080d9558-9c5e-4d3a-be78-d5b52c37ea3a
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.
Backport #4058 (baa07f7) to
hotfix/9.0.5.Register the seven built-in
NpgsqlTsQuerysubclasses with the existingtsquerymapping, without changing generic mapping lookup or SQL translation. Keep the mapping tests and adapt the sync/asyncMatchesregression to the existing 9.0 full-text fixture and parameter naming.Validated with the branch-pinned .NET SDK 9.0.312 against isolated PostgreSQL 17: mapping suite 114 passed; full-text suite 61 passed and 1 pre-existing skipped test.
The separate empty-tsquery serialization bug in #886 is not addressed.
Fixes #3041