5 ms·
Id love postgres even more if they had native support for writing stored procs [ functions ] in javascript.
by jgord 9y ago
Id love postgres even more if they had native support for writing stored procs [ functions ] in javascript.
- anarazel 9y agoI guess you know about https://github.com/plv8/plv8 https://github.com/plv8/plv8 , but would like to see it builtin? Unfortunately, having something like v8 as a postgres build dependency would be pretty drastic increase in build requirements. A number of distributions of postres (debian/ubuntu packages (all versions http://apt.postgresql.org/ http://apt.postgresql.org/), rhel based (https://yum.postgresql.org/ https://yum.postgresql.org/) provide it in an easy manner. I'm not sure there's something as convenient for OSX and windows however :(
- jgord 9y agomy bad.. just found about plv8, and will experiment with it and jsonb on future projects. [ pg installs I work with are invariably running on linux, so all good. ]