Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: fix 'parse_websearch' tests on PostgreSQL 14 and later #133

Merged
merged 2 commits into from
Aug 23, 2023

Conversation

jpvanhal
Copy link
Member

In PostgreSQL 14, websearch_to_tsquery() has been fixed to properly parse query text containing discarded tokens. This affected the tests for parse_websearch() which is using websearch_to_tsquery() under the hood. Also, add PostgreSQL versions 11, 13, 14 and 15 to the build matrix. Previously, the tests were only run on PostgreSQL 12.

In PostgreSQL 14, `websearch_to_tsquery()` has been fixed to properly
parse query text containing discarded tokens [1]. This affected the tests
for `parse_websearch()` which is using `websearch_to_tsquery()` under
the hood.

[1]: https://www.postgresql.org/docs/14/release-14.html
Add PostgreSQL versions 11, 13, 14 and 15 to the build matrix.
Previously, the tests were only run on PostgreSQL 12.
@jpvanhal jpvanhal merged commit fe679c7 into master Aug 23, 2023
@jpvanhal jpvanhal deleted the fix-sql-function-tests-on-postgres-14 branch August 23, 2023 18: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.

1 participant