V8 Engine Javascript Procedural Language add-on for PostgreSQL
Clone or download
Permalink
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 documentation Jul 20, 2018
expected add tests for bytea changes Jun 13, 2018
sql add tests for bytea changes Jun 13, 2018
windows fix v8 issues around xcode 10 Sep 28, 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 fix v8 issues around xcode 10 Sep 28, 2018
META.json fix v8 issues around xcode 10 Sep 28, 2018
Makefile fix v8 issues around xcode 10 Sep 28, 2018
Makefile.shared fix v8 issues around xcode 10 Sep 28, 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 fix v8 issues around xcode 10 Sep 28, 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 pg11 support Jul 13, 2018
plv8.control.common upgrade installations Apr 24, 2018
plv8.h This fixes #211, fixes #160 Jun 30, 2017
plv8.sql.common add plv8_version() Mar 27, 2016
plv8_config.h.in Remove dependency of v8/d8 to parse META.json. Sep 22, 2012
plv8_func.cc add freeing up of tuple Sep 27, 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 pg11 support Jul 13, 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/.