Austin Drenski
Austin Drenski
@cmoonExpedia Per the discussion above, this is planned for the 4.1 release. Until then, you need to handle nulls explicitly. @YohDeadfall ~~I saw that #1993 was closed due to conflicts,...
@Andrioden Can you post the generated queries for each environment?
Thanks for the additional information. Not sure of the specifics yet, but I imagine the line in question is here: https://github.com/npgsql/Npgsql.EntityFrameworkCore.PostgreSQL/blob/ba141fdde35245a5c836912bd65f83126ad20826/src/EFCore.PG/Query/ExpressionTranslators/Internal/NpgsqlDateAddTranslator.cs#L89 If your suspicion is correct and the negative sign...
@YohDeadfall That may also be happening, but I think that this specific case might just be caused by the wrong sign character: ``` psql (11.2 (Ubuntu 11.2-1.pgdg18.04+1)) Type "help" for...
> But then shouldn't this be fixable by wrapping the SQL string with `FormattableString.Invariant` Possibly. But I looked into the negative sign used by .NET's Norwegian culture, and it is...
> What is it that I dont understand? I think you're on the same page as we are. This wasn't something we were able to test/reproduce locally, so this patch...
@roji Yeah, I'll start on a repro in Docker tonight. @Andrioden Could you provide a minimal version of your `Dockerfile`?
I was unable to reproduce with Docker in [austindrenski/EFCore.PG-847](https://github.com/austindrenski/EFCore.PG-847). I don't work much with Docker though, so this could be user-error on my part. @Andrioden Could you clone that repo...
> Not able to reproduce it with your repo, i even did 10-20 changes to make it more similar to my environment and code and still not able to reproduce...
@ljani Thanks for reporting this. I'm able to reproduce this (and a related bug) in our test suite. Looking into a patch shortly.