2 ms·
Show HN: Use Python to safely run Postgres triggers
- samanator 6y agoHi Hacker News Readers! This is my first submission here but I've been reading religiously for a year or so. You can use plpy-wrapper as way to generate python trigger definitions which ensures some of the more obscure errors bubble up as actual exceptions (as opposed to noops). Given that this is a wrapper-style library, more functionality can be added to complement the native plpy module that postgres ships with. I'd love any critique, suggestion, or input you may have.