Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

There's a postgres extension called plv8 that essentially allows one to write database functions in JavaScript, instead of plpgsql.


Oh, absolutely. Same with Python, Tcl, Perl... but that's not the part I'm talking about. The business logic being encoded as pgpl/* is just fine. But having to write complex triggers that wrap pgpl functions and making sure the state of the functions is as expected and all of the other wiring stuff is just not something most people are used to.

I've recently seen an uptick in "Postgres-native" stuff being built, though. So maybe there's hope for the future.




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

Search: