Scripting a Live Postgres Backend with pg_scalpel

pg_scalpel puts a Janet interpreter inside a running Postgres backend. From there you can look up any function or struct by name, call the server’s own C, and swap a function out for your own code, with no recompile and no restart. Here’s how it works, and what it costs.

November 5, 2026 · 13 min · Bryan Green