Skip to content

Implement DbFunctions extensions for websearch_to_tsquery (#629) - #753

Merged
austindrenski merged 5 commits into
npgsql:devfrom
CornedBee:dev
Feb 28, 2019
Merged

austindrenski merged 5 commits into
npgsql:devfrom
CornedBee:dev

Conversation

@CornedBee

Copy link
Copy Markdown
Contributor

This resolves half of issue #629

@CornedBee

Copy link
Copy Markdown
Contributor Author

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

@austindrenski austindrenski left a comment

Copy link
Copy Markdown
Contributor

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.

@austindrenski austindrenski left a comment

Copy link
Copy Markdown
Contributor

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
Copy Markdown
Contributor Author

Thanks for the thorough review.

@austindrenski

Copy link
Copy Markdown
Contributor

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

@austindrenski

Copy link
Copy Markdown
Contributor

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

@austindrenski

Copy link
Copy Markdown
Contributor

@roji

roji commented Feb 19, 2019

Copy link
Copy Markdown
Member

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

@CornedBee

Copy link
Copy Markdown
Contributor Author

I updated, do you get notifications for that?

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

Copy link
Copy Markdown
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

rwasef1830 commented Feb 28, 2019 •

Copy link
Copy Markdown
Contributor

@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
Copy Markdown
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

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants