Skip to content

[8.0] Fix type mapping for derived tsquery parameters - #4061

Merged
roji merged 1 commit into
hotfix/8.0.12from
roji-tsquery-mapping-backport-8-0
Oct 20, 2026
Merged

roji merged 1 commit into
hotfix/8.0.12from
roji-tsquery-mapping-backport-8-0

Conversation

@roji

@roji roji commented Oct 20, 2026

Copy link
Copy Markdown
Member

Backport #4058 to hotfix/8.0.12.

Registers the seven built-in NpgsqlTsQuery subclasses with the existing tsquery mapping, leaving generic type-mapping lookup and SQL translation unchanged. Preserves the mapping regression coverage and adapts the sync/async Matches regression to the 8.0 branch's existing Northwind full-text fixture.

Validated with the branch-pinned .NET 8 SDK: 96 mapping tests and 61 full-text tests passed against isolated PostgreSQL 16 (one existing full-text test skipped).

The separate empty-tsquery serialization issue #886 is not addressed.

Fixes #3041

Backport #4058, adapting the sync/async regression to the existing Northwind full-text test fixture.

(cherry picked from commit baa07f7)
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 40214a4a-3c33-48c2-ad9a-cd1cf0716245
@roji roji linked an issue Oct 20, 2026 that may be closed by this pull request
@roji
roji merged commit b167908 into hotfix/8.0.12 Oct 20, 2026
8 checks passed
@roji
roji deleted the roji-tsquery-mapping-backport-8-0 branch October 20, 2026 16:11
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.

Full Text Search method "Matches" fails when not using a string query

1 participant