Exploring PL/pgSQL: Strings, arrays, recursion, and parsing JSON

from blog Notes on software development, | ↗ original
Next in exploring PL/pgSQL: Implementing a Forth-like interpreter PostgreSQL comes with a builtin imperative programming language called PL/pgSQL. I used to think this language was scary because it has a bit more adornment than your usual language does. But looking deeper, it's actually reasonably pleasant to program in. In this post we'll...