Here, I see a conflict between the doable{RAISE}, and convenience{SQL function}, and will follow your inputs on this.
Also, I was under impression that, all our TODO items are filtered for the real use cases. Is my impression wrong. If I wanted to work on another TODO item, where i need to take a look.