Thread: pllolcode - pllolcode: Returning values works, but since there's no

pllolcode - pllolcode: Returning values works, but since there's no

From
eggyknap@pgfoundry.org (User Eggyknap)
Date:
Log Message:
-----------
Returning values works, but since there's no error checking, the return type's input function probably has to be fairly
smartto avoid errors with some of the less common types. Example usage: 

CREATE FUNCTION lolBoolTest() RETURNS BOOLEAN AS $$
HAI
    FOUND YR WIN
KTHXBYE
$$ LANGUAGE PLLOLCODE;

# SELECT lolBoolTest();
 lolbooltest
-------------
 t
(1 row)

Modified Files:
--------------
    pllolcode:
        gram.y (r1.10 -> r1.11)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pllolcode/pllolcode/gram.y.diff?r1=1.10&r2=1.11)
        openbsd_test.sh (r1.2 -> r1.3)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pllolcode/pllolcode/openbsd_test.sh.diff?r1=1.2&r2=1.3)
        pllolcode.c (r1.6 -> r1.7)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pllolcode/pllolcode/pllolcode.c.diff?r1=1.6&r2=1.7)
        pllolcode.h (r1.7 -> r1.8)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pllolcode/pllolcode/pllolcode.h.diff?r1=1.7&r2=1.8)
        pllolcode_symbol.c (r1.1 -> r1.2)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pllolcode/pllolcode/pllolcode_symbol.c.diff?r1=1.1&r2=1.2)
        scan.l (r1.9 -> r1.10)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pllolcode/pllolcode/scan.l.diff?r1=1.9&r2=1.10)

Removed Files:
-------------
    pllolcode:
        pllolcode_symbol.h
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pllolcode/pllolcode/pllolcode_symbol.h)