• Bruce Momjian's avatar
    the following little patch adds array references to query · 9b21a18c
    Bruce Momjian authored
        parameters. With it applied a function like
    
        CREATE FUNCTION getname(oid8, int4) RETURNS name AS
            'SELECT typname FROM pg_type WHERE oid = $1[$2]'
            LANGUAGE 'sql';
    
        is possible. Mainly I need this to enable array references in
        expressions for PL/pgSQL. Complete regression test ran O.K.
    
    Jan
    9b21a18c
parsenodes.h 22.5 KB