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

Implement DbFunctions extensions for websearch_to_tsquery (#629) #753

Merged
merged 5 commits into from
Feb 28, 2019

Conversation

CornedBee
Copy link
Contributor

This resolves half of issue #629

@CornedBee
Copy link
Contributor Author

So apparently the appveyor test environment still uses PostgreSQL 10. That can't work for this PR.

Copy link
Contributor

@austindrenski austindrenski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for putting this together. Just a couple of comments included in this review.

We'll need to wait to merge until the CI environment is upgraded. That might not be soon, but it should certainly happen before the 3.0 release in 2019Q1.

Copy link
Contributor

@austindrenski austindrenski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for making these changes. One small nit to address, and then I think this will be good to go.

@CornedBee
Copy link
Contributor Author

Thanks for the thorough review.

@austindrenski
Copy link
Contributor

Opened appveyor/ci#2805 to request an ETA on PG 11 from AppVeyor.

@austindrenski
Copy link
Contributor

Per appveyor/ci#2805, PostgreSQL 11 should be available after the next image update.

@austindrenski
Copy link
Contributor

@roji
Copy link
Member

roji commented Feb 19, 2019

#822 was merged, updating our CI environment. Do you mind rebasing on the latest dev and pushing again?

@CornedBee
Copy link
Contributor Author

I updated, do you get notifications for that?

@austindrenski austindrenski merged commit 76c396e into npgsql:dev Feb 28, 2019
@austindrenski
Copy link
Contributor

@CornedBee We don't necessarily get notifications for new commits, so thanks for the ping. I just merged, so this should be available in the next preview release.

Thank you for your contribution!

@rwasef1830
Copy link
Contributor

rwasef1830 commented Feb 28, 2019

@austindrenski @CornedBee the commit is missing updating TryTranslateDbFunctionExtension in Query/ExpressionTranslators/Internal/NpgsqlFullTextSearchMethodTranslator.cs to handle regconfig parameter being a variable. This will cause an exception when regconfig parameter is passed as a variable.

A case for the new method needs to be added so that regconfig explicit cast is emitted.

@austindrenski
Copy link
Contributor

Yikes, thanks for catching that @rwasef1830... Does one of you have time to submit a patch (and relevant unit tests)?

rwasef1830 added a commit to rwasef1830/Npgsql.EntityFrameworkCore.PostgreSQL that referenced this pull request Feb 28, 2019
rwasef1830 added a commit to rwasef1830/Npgsql.EntityFrameworkCore.PostgreSQL that referenced this pull request Mar 1, 2019
rwasef1830 added a commit to rwasef1830/Npgsql.EntityFrameworkCore.PostgreSQL that referenced this pull request Mar 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants