TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Use Python to safely run Postgres triggers

2 pointsby samanatorabout 5 years ago

1 comment

samanatorabout 5 years ago
Hi Hacker News Readers!<p>This is my first submission here but I&#x27;ve been reading religiously for a year or so. You can use <i>plpy-wrapper</i> as way to generate python trigger definitions which ensures some of the more obscure errors bubble up as actual exceptions (as opposed to noops).<p>Given that this is a wrapper-style library, more functionality can be added to complement the native <i>plpy</i> module that postgres ships with.<p>I&#x27;d love any critique, suggestion, or input you may have.