greenplum-db/plcontainer

PL/Container does not support default argument name

HaozhouWang opened this issue · 1 comments

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"

We have created an issue in Pivotal Tracker to manage this. Unfortunately, the Pivotal Tracker project is private so you may be unable to view the contents of the story.

The labels on this github issue will be updated when the story is started.