Closed GoogleCodeExporter closed 9 years ago
[deleted comment]
I'm not familar with PL codes, but I take a look at the source.
It seems
plv8.cc
CallTrigger(PG_FUNCTION_ARGS, plv8_exec_env *xenv)
do not handle null return properly. While PL/pgSQL's
plpgsql_exec_trigger(PLpgSQL_function *func,
TriggerData *trigdata)
returning NULL. (I suppose returning NULL is correct, not sure, though)
I guess returning NULL form the CallTrigger may solve the problem.
Original comment by yohg...@gmail.com
on 27 Nov 2012 at 7:12
Good point. Also, I noticed INSERT trigger cannot change the value. Fixed in
afb7f62
Original comment by umi.tan...@gmail.com
on 29 Nov 2012 at 8:15
Original issue reported on code.google.com by
yohg...@gmail.com
on 27 Nov 2012 at 5:35