Collapse AllExpand All

6.6. Update Database to allow plv8

After following the steps described below for your operating system, you will need to connect to each database you plan to update and issue the following, which tells the database to allow use of plv8:

psql dbname> create extension if not exists plv8;

Tip

If you apply the above command to your template1 database, then any new databases you create from template1 will automatically inherit the plv8 extension.