PL/Container does not support default argument name
HaozhouWang opened this issue · 1 comments
HaozhouWang commented
argX
is a default argument name in plr, PL/Container should has same feature.
CREATE OR REPLACE FUNCTION rint2(int2) RETURNS int2 AS $$
# container: plc_r_shared
return (as.integer(arg1))
$$ LANGUAGE plcontainer;
CREATE FUNCTION
test=# select rint2(NULL::int2);
ERROR: PL/Container client exception occurred:
DETAIL: Error in (rint2 <- function(args) { : object 'arg1' not found
CONTEXT: PLContainer function "rint2"