PostgreSQL function question

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 1:03 UTC
Read the original article Hit count: 240

Filed under:
|
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

Related posts about postgresql

Related posts about perl