Hacker News new | past | comments | ask | show | jobs | submit login

> PL/pgSQL is not a great programming language.

Its main feature is that it resembles PL/SQL.

Otherwise, you can choose to write stored procedures in Ruby, Perl, Python, Lua, C, R ...

> There's nothing wrong with stored procedures per se, but the architecture where every database call is a stored procedure matched to a use case from a higher tier is error-prone.

Agreed in general; I prefer to use stored procs tactically. The worst stored proc architecture I've seen is the idea that every table should be wrapped in a stored proc API. It's hideous.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: