C++ PLpgSQL CSS CMake Makefile PowerShell Other
Clone or download
Latest commit 0356f57 Jun 14, 2018
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 pgxn docs May 10, 2018
expected add tests for bytea changes Jun 13, 2018
sql add tests for bytea changes Jun 13, 2018
windows get ready for 2.3.5 release Jun 13, 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 get ready for 2.3.5 release Jun 13, 2018
META.json get ready for 2.3.5 release Jun 13, 2018
Makefile add signal handling for sigterm and sigint Apr 27, 2018
Makefile.shared add tests for bytea changes Jun 13, 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 get ready for 2.3.5 release Jun 13, 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 execution timeout support for windows May 6, 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 msvc compilation (#272) Apr 20, 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 fix regression Jun 10, 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/.