News for hackers. Stuff that matters.
Re:Ask HN: Have you ever used PL/pgSQL – the PostgreSQL prog... by rpedela on Monday September 03, 2018 @02:20AM (#17900726)
If the business logic relates directly to the data, then that is my preference. I think it simplifies a lot of things for a REST API too. Thanks to the JSON support, I often write plpgsql functions that create the result JSON and the web server just passes it on. I have often found that to be faster than trying to construct it in the web server, but not always.

There are no comments on this comment yet.