Usually databases are treated primarily as fairly dumb data storage systems, but they can be capable of much more. Case in point the PostgreSQL database and its – Ada-based – PL/pgSQL programming ...
This gem provides helpers for creating and removing PL/pgSQL functions and triggers within a PostgreSQL database. This is a wildly naïve implementation that has only been carried far enough to ease my ...