Thread: pgsql: Add a check for trigger function with declared arguments.

pgsql: Add a check for trigger function with declared arguments.

From
tgl@svr1.postgresql.org (Tom Lane)
Date:
Log Message:
-----------
Add a check for trigger function with declared arguments.  This path
could not be reached before, but now that there is a plpgsql validator
function, it can be.  Check is needed to prevent core dump reported by
Satoshi Nagayasu.  Besides, this gives a more specific and useful
error message for a fairly common novice error.

Modified Files:
--------------
    pgsql/src/pl/plpgsql/src:
        pl_comp.c (r1.91 -> r1.92)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/pl/plpgsql/src/pl_comp.c.diff?r1=1.91&r2=1.92)