安装postgres后,无法创建扩展plv8。我正在使用:CREATE EXTENSION plv8;ERROR: could not open extension control file "/usr/local/share/postgresqlextension/plv8.control": No such file or directory版本postgres: 9.6.2版本pgAdmin4: 1.4
如何安装plv8</
但是--正如前面提到的--使用PLV8调试的选项较少。到目前为止,我知道plugin_debugger只适用于plpgSQL。有没有人在外面找到了用另一种方式进行PLV8调试的好方法,然后使用了大量烦人的plv8.elog(NOTICE, 'this happens with my variable')?
我没有运气将一个jsonb类型传递给一个plv8函数,它是作为类型字符串出现的。我在想我是不是做错了?create or replace function jt ( o json ) returns integer language plv8 immutable$function$;
create or replace function jt ( o jsonb ) returns integer language plv8