Postgresql Javascript Procedural Language Examples