V8 Engine Javascript Procedural Language add-on for PostgreSQL
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bench Add benchmark setup script. Apr 14, 2012
contrib more documentation cleanup and building Apr 27, 2018
doc msvc compilation (#272) Apr 20, 2018
docs update some documentation Dec 10, 2018
expected add tests and bigint support Oct 5, 2018
sql add tests and bigint support Oct 5, 2018
windows update previous versions for upgrade scripts Dec 10, 2018
.gitignore more documentation cleanup and building Apr 27, 2018
.travis.yml update to 6.4.388.40 (#253) Feb 13, 2018
COPYRIGHT Add copyrights. Sep 26, 2012
Changes update for pull request Dec 10, 2018
META.json 3.0 alpha compiling against 7.0.276.20 Oct 4, 2018
Makefile add tests and bigint support Oct 5, 2018
Makefile.shared add tests and bigint support Oct 5, 2018
README.md get ready for 2.3.3 release Apr 27, 2018
coffee-script.js Experimental support for CoffeeScript. May 10, 2012
generate_upgrade.sh update previous versions for upgrade scripts Dec 10, 2018
livescript.js Update LiveScript to 1.2.0 Dec 1, 2013
package.sh a couple of improvements to package.sh Feb 3, 2015
plv8.cc add plv8.v8_version Oct 4, 2018
plv8.control.common upgrade installations Apr 24, 2018
plv8.h add tests and bigint support Oct 5, 2018
plv8.sql.common add tests and bigint support Oct 5, 2018
plv8_config.h.in Remove dependency of v8/d8 to parse META.json. Sep 22, 2012
plv8_func.cc 3.0 alpha compiling against 7.0.276.20 Oct 4, 2018
plv8_param.cc Fix regression failure related to FLEXIBLE_ARRAY_MEMBER changes May 24, 2015
plv8_param.h Let parser deduce parameter types in SPI queries. Jun 26, 2012
plv8_type.cc add tests and bigint support Oct 5, 2018
uninstall_plv8.sql upgrade installations Apr 24, 2018

README.md

PLV8 - A Procedural Language in Javascript powered by V8

PLV8 is a shared library that provides a PostgreSQL procedural language powered by V8 Javascript Engine. With this program you can write in Javascript your function that is callable from SQL.

Installing

=# CREATE EXTENSION plv8;

This will install PLV8 into your database if it exists as an extension.

Testing

To test, you can execute:

=# DO $$ plv8.elog(NOTICE, "hello there!"); $$ LANGUAGE plv8;

For full documentation, see https://plv8.github.io/.