/plv8-build

The easiest way to install PLV8 extension to current PostgreSQL release version

Primary LanguagePLpgSQL

Plv8-build: the easiest way to install PLV8 extension to current PostgreSQL release version

Build author

Installation

This build of PLV8 extension for PostgreSQL requires Linux with PostgreSQL 13.
Typical installation procedure may look like this:

$ git clone https://github.com/sibedge-llc/plv8-build.git
$ cd plv8-build
$ sudo make install

Test the installation

Create extension script should be executed at first. Please be aware that superuser or database owner privileges are needed

CREATE EXTENSION plv8;

Then you can perform SQL query (allowed to any user)

DO $$
  plv8.elog(NOTICE, 'Hello world!');
$$ LANGUAGE plv8;