#npgsql
Yesterday's boss was the server door. Today's? A Unix socket path. 🫠

We were preparing to test PostgreSQL in Unity, but Bee stopped compilation before the test even started.

No Npgsql verdict yet. Just a clear diagnosis and a plan for round two. ⚔️

#gamedev #MMORPG #IndieDev #ProjectChronicle
November 5, 2026 at 11:34 AM
COPY binario en .NET 9: de 2.910 a 15.710 ítems por segundo

¿Cómo lograr una importación masiva PostgreSQL 5,4 veces más rápida en .NET 9? Mirá qué midió un caso real con COPY binario y qué no demuestra

#postgresql #npgsql #net9 #copybinario #entityframeworkcore
COPY binario en .NET 9: de 2.910 a 15.710 ítems por segundo
Un caso real de importación masiva en PostgreSQL 17 con Npgsql: cifras reportadas, límites del benchmark y cuándo conviene dejar EF Core.
donweb.news
October 16, 2026 at 1:21 AM
"Thanks to the Npgsql driver team, who paved the way for this pooling design." devblogs.microsoft.com/azure-sql/tr...
Try SqlClient’s new connection pool for faster parallel connections - Azure SQL Dev Corner
You told us that applications using Microsoft.Data.SqlClient can take too long to establish the database connections they need. When many requests need
devblogs.microsoft.com
October 7, 2026 at 2:13 PM
A SET statement_timeout in Npgsql dies on the next pool reuse (DISCARD ALL). Put it in the startup packet with Options=-c inste…
https://startdebugging.net/2026/10/how-to-set-postgresql-session-parameters-on-every-ef-core-connection-with-npgsql/?utm_source=bluesky&utm_medium=social&utm_campaign=auto
October 4, 2026 at 6:15 AM
September 21, 2026 at 6:24 AM
Postgres 23505 on a concurrent insert is the unique index working. EnableRetryOnFailure won't retry it: Npgsql marks it…
https://startdebugging.net/2026/08/fix-23505-duplicate-key-value-violates-unique-constraint-on-a-concurrent-ef-core-insert/?utm_source=bluesky&utm_medium=social&utm_campaign=auto
August 30, 2026 at 11:34 AM
PSA: pgbouncer now supports prepared statements in transaction pooling mode

db.prepare("plus_one", "select $1::int + 1")
10.times { db.exec_prepared("plus_one", [41]) }

Remember to set max_prepared_statements when using

github.com/pgbouncer/pg...
Support protocol-level named prepared statements (#845) · pgbouncer/pgbouncer@6070802
This implements the often requested feature of supporting named prepared statements. This makes clients like JDBC and Npgsql work without any client side configuration changes if you set max_pre...
github.com
August 27, 2026 at 11:08 PM
🚀🎉 BoilStream v0.7.5 out!

Power BI now works with all data types!
See the demo_database.sql test suite on GitHub.

NOTE: Power BI uses old version of npgsql, so we had to downgrade some temporal (TEXT) and list types (JSON). But only for Power BI clients.

github.com/boilingdata/...
GitHub - boilingdata/boilstream: Diskless high-throughput data ingestion server with local DuckDB caching. Writes optimised Parquet files onto Object Storages.
Diskless high-throughput data ingestion server with local DuckDB caching. Writes optimised Parquet files onto Object Storages. - boilingdata/boilstream
github.com
August 21, 2025 at 11:45 AM
Funnily enough most of the EF improvements comes from the great Npgsql team 🙂 It’s intriguing how the „tradition” biases choices
November 20, 2024 at 12:55 PM
problem is none of it is exposed in that Hangfire extension (and it uses an old version of Npgsql), unlike say the Aspire EF integration that lets me use Npgsql's APIs to filter things (www.npgsql.org/doc/diagnost...)
Tracing with OpenTelemetry (experimental) | Npgsql Documentation
www.npgsql.org
June 17, 2025 at 7:14 PM
Yeah, it's specifically with the Hangfire Npgsql package - it doesn't expose or use the NpgsqlDataSourceBuilder that would let me fine-tune it
June 17, 2025 at 1:29 PM
As particularidades são várias, o ideal é vc ler com calma a documentação e as recomendações do driver pra decidir o que é melhor pro seu caso:

www.npgsql.org/doc/types/da...
Date and Time Handling | Npgsql Documentation
www.npgsql.org
January 6, 2025 at 3:58 AM
Looking for ARM64 Windows users to test the PostgreSQL DDEX provider for Visual Studio - github.com/npgsql/npgsq...
Npgsql PostgreSQL Integration Doesn't support Microsoft Visual Studio Community 2022 (ARM 64-bit) · Issue #5855 · npgsql/npgsql
Microsoft Visual Studio Community 2022 (ARM 64-bit) - Preview Version 17.12.0 Preview 2.1 When I try to install the extension, I got an VSIX Installation Error: View Install Logs: 9/27/2024 1:32:26...
github.com
March 2, 2025 at 8:27 AM
The NpgsqlCommand class from Npgsql is probably what might illuminate things for you here.

The gist: the statements get prepared separately, but you can otherwise Parse/Bind/Describe and then Execute in four roundtrips instead of n*4 for n SELECTs.
December 9, 2023 at 7:00 PM
PowerShell Npgsql 10.0.1 is available

#postgres #npgsql #powershell

github.com/5432-fr/powe...
Release 10.0.1 · 5432-fr/powershell-npgsql
PowerShell Npgsql version 10.0.1
github.com
January 2, 2026 at 3:26 PM
🐍💻 Fix Npgsql “Bad Protocol Version” on macOS & .NET 6

If you’re building .NET 6 apps on macOS and connecting to PostgreSQL using Npgsql, you might encounter:

🚫 Bad Protocol Version errors

👉 Full Article: sslinsights.com/fix-npgsql-b...

#dotnet6 #Npgsql #macOSDev #PostgreSQL #DevOps #Programming
How to Fix Npgsql "Bad Protocol Version" on macOS (.NET 6)
Learn how to fix Npgsql “Bad Protocol Version” error on macOS when using .NET 6. Quick steps to restore PostgreSQL connection compatibility.
sslinsights.com
February 19, 2026 at 4:59 AM
1388 green tests and a 500 in production: EF InMemory does not enforce what Npgsql enforces https://old.reddit.com/r/csharp/comments/1veggey/1388_green_tests_and_a_500_in_production_ef/

#csharp #dotnet
August 3, 2026 at 3:23 PM
Academic project: Building a Linear Programming app in .NET 8 — C#, WinUI 3, EF, Syncfusion, Npgsql, MVVM https://old.reddit.com/r/csharp/comments/1q6zx3n/academic_project_building_a_linear_programming/

#csharp #dotnet
January 8, 2026 at 2:43 AM
Npgsql 10.0.0 and Npgsql.EntityFrameworkCore.PostgreSQL 10.0.0 are released https://old.reddit.com/r/dotnet/comments/1p46i8y/npgsql_1000_and/

#dotnet
November 22, 2025 at 11:04 PM