News for hackers. Stuff that matters.
Re:Migrating to Postgres by pier25 on Wednesday May 14, 2025 @09:05PM (#43990818)
I use PG with Entity Framework in .NET and at least 90% of my queries don't need any PG-specific features.

When I need something PG specific I have options like writing raw SQL queries.

Having most of my data layer in C# is fantastic for productivity and in most cases the performance compared to SQL is negligible.

Re:Migrating to Postgres by romanhn on Wednesday May 14, 2025 @09:44PM (#43991048)
Entity Framework really is such a time saver. The PG adapter makes it a breeze not just with common queries, but also more recent stuff, like working with embeddings for vector search.
Re:Migrating to Postgres by theshrike79 on Thursday May 15, 2025 @02:19AM (#43992322)
Coming from Javaland to C#, Entity Framework is a breath of fresh air.

The Npgsql driver automatically applies PG-specific tricks without me having to do anything special

The only path I had to do myself is the data ingress point that had some race condition issues, everything else seems to perform pretty well out of the box.