How can I call a PL/Perl function from another PL/Perl function?
Posted
by maxxtack
on Stack Overflow
See other posts from Stack Overflow
or by maxxtack
Published on 2010-04-02T00:58:53Z
Indexed on
2010/04/02
2:43 UTC
Read the original article
Hit count: 379
CREATE FUNCTION foo() RETURNS text
LANGUAGE plperl
AS $$
return 'foo';
$$;
CREATE FUNCTION foobar() RETURNS text
LANGUAGE plperl
AS $$
return foo() . 'bar';
$$;
I'm trying to compose results using multiple functions, but when I call foobar()
I get an empty result.
© Stack Overflow or respective owner