Skip to content
V8 Engine Javascript Procedural Language add-on for PostgreSQL
Branch: r3.0alpha
Clone or download
JerrySievert Update Memory Context and add memory_usage (#330)
* add `plv8.memory_usage()`
* add conversion context for jsonb conversion
Latest commit ee28355 Mar 23, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bench Add benchmark setup script. Apr 14, 2012
contrib
doc
docs
expected
platforms/windows
sql add tests and bigint support Oct 5, 2018
.gitignore more documentation cleanup and building Apr 27, 2018
.travis.yml add pg 10 & 11 to travis Feb 24, 2019
COPYRIGHT
Changes
META.json 3.0 alpha compiling against 7.0.276.20 Oct 4, 2018
Makefile
Makefile.shared add tests and bigint support Oct 5, 2018
README.md
coffee-script.js Experimental support for CoffeeScript. May 10, 2012
generate_upgrade.sh direct jsonb conversion (#328) Mar 19, 2019
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 update termination path for execution timeout (#324) Mar 3, 2019
plv8.control.common
plv8.h add tests and bigint support Oct 5, 2018
plv8.sql.common
plv8_config.h.in
plv8_func.cc Update Memory Context and add memory_usage (#330) Mar 23, 2019
plv8_param.cc Fix regression failure related to FLEXIBLE_ARRAY_MEMBER changes May 24, 2015
plv8_param.h
plv8_type.cc Update Memory Context and add memory_usage (#330) Mar 23, 2019
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/.

You can’t perform that action at this time.