- Published on
PgDay Armenia 2026 — Debugging Postgres
- Authors

- Name
- Varik Matevosyan
- @D4RK7ET
PgDay Armenia 2026 — Debugging Postgres
On April 30, 2026 I had the chance to give a talk at PgDay Armenia 2026. The talk was about debugging Postgres in production: how to capture core dumps from crashing backends, attach GDB to a running process, and walk through the resulting traces to find the offending code in extensions and in Postgres itself. Below you can find the presentation, the live demo recording, and a link to the GitHub repo with the demo code.
Slides
You can also download the deck directly.
Live Demo
This is the recording of the demo I ran live during the talk — a Postgres extension that intentionally crashes the backend, the core dump it leaves behind, and walking the stack trace in GDB.
Code
Slides, demo recording, and the full Dockerized demo (Postgres 18 with a crashing extension, core-dump setup, and GDB attach scripts) are on GitHub: