Listen to Database Changes through the Postgres WAL

Welcome back, friends! Did you hear the news about the inventor of the Knock-Knock joke? He got a No-bell prize. Alright, this post will be a bit longer since we'll dive deeply into the Postgres WAL and will explore how to listen for database changes through it. The Problem Let's say you want to react to changes in your Postgres database, for example to send out realtime notifications or to track…