当前位置:Gxlcms > 数据库问题 > 通过ALTER DATABASE postgres SET 解决 plv8 plv8.start_proc 问题

通过ALTER DATABASE postgres SET 解决 plv8 plv8.start_proc 问题

时间:2021-07-01 10:21:17 帮助过:2人阅读

说明

默认我们需要在建立连接的时候配置,一般如下:

SET plv8.start_proc = ‘v8.plv8_init‘;

通过ALTER DATABASE postgres SET 我们就为每个session 配置了自动的变量,不需要代码调整了。
同时我们编写sql 也就会很简单了

参考资料

https://www.postgresql.org/docs/9.1/sql-alterdatabase.html

通过ALTER DATABASE postgres SET 解决 plv8 plv8.start_proc 问题

标签:nta   配置   建立   default   base   variable   href   lin   http   

人气教程排行