• Peter Eisentraut's avatar
    Add optional "validator" function to languages that can validate the · d60f10b0
    Peter Eisentraut authored
    function body (and other properties) as a function in the language
    is created.  This generalizes ad hoc code that already existed for
    the built-in languages.
    
    The validation now happens after the pg_proc tuple of the new function
    is created, so it is possible to define recursive SQL functions.
    
    Add some regression test cases that cover bogus function definition
    attempts.
    d60f10b0
copyfuncs.c 63.2 KB