Comments (7)
Which versions of npgsql and efcore.pg is your project referencing?
from efcore.pg.
Which versions of npgsql and efcore.pg is your project referencing?
8.0.2
from efcore.pg.
There was another strange problem, after the initial upgrade to.NET 8, there were frequent ssl errors, which did not reappear after I set ssl mode to disable in the connection string
from efcore.pg.
@choby I'm not sure what we can do with such a partial bug report (just a stack trace). I'd need some sort of minimal repro, or at least full statement logging from the PG side to see what is being sent to the database.
from efcore.pg.
I found that if I used tojson() to map jsonb fields, I encountered this problem when I manually enabled multiple UnitOfWorks, and I didn't encounter this problem when I fell back on the tojson() method to HasColumnType("jsonb"). Also note that I made an http request in the UnitOfWork
from efcore.pg.
And this problem seems to exist only in certain scenarios, for example, I run it perfectly in debug mode on my macbook, but I run it 3-4 times out of 10 on ubuntu
from efcore.pg.
@choby thanks for the added detail, but the information above is still very partial, and I'm not sure what we can do to investigate this.
If you can reproduce the problem 3-4 times out of 10 on Ubuntu, please try putting together a minimal, runnable repro (i.e. console application) that does this - a good way is to simply run the code in a loop until it fails. If you manage to do that, please post that back here and we'll revisit. In the meantime I'll go ahead and close the issue as we can't investigate it without a repro.
from efcore.pg.
Related Issues (20)
- Querying a DateTimeOffset in a jsonb as JsonDocument fails with InvalidCastException
- Translation from Contains to strpos leads to extremely slow queries HOT 1
- GroupBy with joined table produces sub optimal query
- Date/time column type mapping to DateTimeOffset / DateOnly / TimeOnly HOT 7
- When upgrading to 8.0.2, using LINQ's [all] and [contains] will cause translation failure. HOT 4
- Is it possible to have a proxy property for json/jsonb field for LINQ-query purposes? HOT 2
- Bug. Ef Core cannot translate postgresql Array functions when used optimized EF Core Model HOT 2
- Error when including list of Point
- Remove direct dependency on Microsoft.EntityFrameworkCore.Abstractions HOT 1
- List Of List to JsonB .Net 8 HOT 11
- DROP DATABASE WITH (FORCE) fails on 11.8 HOT 2
- parameters type mapping to the user-defined function HOT 4
- Does npgsql support 'IS DISTINCT FROM' and 'IS NOT DISTINCT FROM' when building query using System.Linq.Expressions? HOT 4
- Question: SQL LEFT JOIN clause varies based on declarative- vs. method-style join HOT 1
- Fully support extensions create in non-default schemas
- Make the enumName parameter in NpgsqlDbContextOptionsBuilder.MapEnum<T>() optional. HOT 6
- How to prefix an update statement with a SET, whilst maintaining DbConcurrencyException logic HOT 3
- All migrations detected as Pending if you don't have a versioned public schema.
- EntityTypeBuilder.HasCluster(string indexName) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from efcore.pg.