no dogma blog
no dogma blog
Blog Posts
Podcast
Web API Lambda Course
Polly Course
Photos
Contact
Support this Site
About
RSS
Light
Dark
Automatic
Postgres
Statement and Transaction Timeouts in Postgres and CockroachDB
There are multiple timeouts to work with when using Postgres and CockroachDB. These can help prevent single statements from running too long, stop transactions that are idle or taking too long, and release locks.
Aug 13, 2025
#
Postgres
,
CockroachDB
,
Transactions
,
Timeouts
Mixing Raw SQL and Fluent Statements with Entity Framework
There are times when it is necessary to use handwritten SQL with Entity Framework Core. In this post I should how to do that, and to mix it with the usual fluent statements.
Jan 15, 2025
#
Postgres
,
Entity Framework
,
SQL
CockroachDB and Postgres SELECT FOR UPDATE and SKIP LOCKED
With CockroachDB and Postgres, combining the SELECT FOR UPDATE and SKIP LOCKED statements can help you handle concurrent access to the same table.
Jun 20, 2024
#
Postgres
,
CockroachDB
,
SKIP LOCKED
,
SELECT FOR UPDATE
Using Postgres with C#
It’s not a problem to use Postgres C# and .NET. You can also use Entity Framework.
Jun 6, 2024
#
Postgres
,
C#
,
Docker
Running Postgres in Docker
A simple example of running Postgres in Docker with a password set, and a port exposed.
Jun 3, 2024
#
Docker
,
Postgres
,
Container
Cite
×