Skip to content
/ plv8 Public
forked from plv8/plv8

V8 Engine Javascript Procedural Language add-on for PostgreSQL

License

Notifications You must be signed in to change notification settings

IhostVlad/plv8

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Building

Note that as PLV8 3.1, there are new build requirements.

Linux

The following packages must be installed to build on Ubuntu:

  • libtinfo5
  • build-essential
  • ninja-build
  • python3
  • pkg-config

MacOS

The following packages must be install to build on MacOS:

  • XCode - and the command line tools
  • brew
  • llvm - version 12 or higher
  • ninja
  • python3

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/.

About

V8 Engine Javascript Procedural Language add-on for PostgreSQL

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 97.5%
  • PLpgSQL 1.6%
  • Makefile 0.3%
  • CSS 0.2%
  • CMake 0.1%
  • PowerShell 0.1%
  • Other 0.2%