Skip to content
V8 Engine Javascript Procedural Language add-on for PostgreSQL
C++ PLpgSQL CSS CMake Makefile PowerShell Other
Branch: r3.0alpha
Clone or download
jeffcoat and JerrySievert Allocate FunctionCallInfo on the stack. (#377)
FunctionCallInfoData is defined differently
for PG_VERSION_NUM >= 120000; use a macro
from fmgr.h to initialize it.
Latest commit af456b4 Dec 19, 2019
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 BUILDING.md (#362) Sep 14, 2019
expected Make regression tests PG12 compatible (#376) Dec 18, 2019
platforms/windows Bug Fixes (#332) Mar 25, 2019
sql Make regression tests PG12 compatible (#376) Dec 18, 2019
.gitignore more documentation cleanup and building Apr 27, 2018
.travis.yml Make regression tests PG12 compatible (#376) Dec 18, 2019
COPYRIGHT Add copyrights. Sep 26, 2012
Changes R3.0alpha (#357) Aug 13, 2019
META.json 3.0 alpha compiling against 7.0.276.20 Oct 4, 2018
Makefile uname -m can also be aarch64 for arm64 platforms (#369) Oct 30, 2019
Makefile.shared R3.0alpha (#349) Jun 27, 2019
README.md
coffee-script.js Experimental support for CoffeeScript. May 10, 2012
generate_upgrade.sh Bug Fixes (#332) Mar 25, 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 Allocate FunctionCallInfo on the stack. (#377) Dec 19, 2019
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_allocator.cc Oom handling (#345) Jun 25, 2019
plv8_allocator.h Oom handling (#345) Jun 25, 2019
plv8_config.h.in Remove dependency of v8/d8 to parse META.json. Sep 22, 2012
plv8_func.cc Allocate FunctionCallInfo on the stack. (#377) Dec 19, 2019
plv8_param.cc
plv8_param.h Let parser deduce parameter types in SPI queries. Jun 26, 2012
plv8_type.cc R3.0alpha (#357) Aug 13, 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.