‹ BackHN Continuity

Thread

We need to stop using Stored Procedures

17 points · 32 comments · snikolaev

  1. joeblubaugh · · focus · HN ↗
    Maybe they’re not properly called sprocs, but there’s at least one good use for logic stored in the database: data retention. I like CREATE EVENT / pg_cron for trimming append-only tables when the data has aged out.
Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.