1 comment

[ 2.5 ms ] story [ 13.6 ms ] thread
Hi 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.