There was a time when I was a die-hard fan of moving as much business logic as possible into Postgres triggers, functions and stored procedures.
Boy, how I regret that even years later. Luckily, I cannot fire myself for my bad decisions.
#postgresql #sql #programming