Add optional "validator" function to languages that can validate the

Peter Eisentraut <peter_e@gmx.net>

Commit: d60f10b0e74173653d17c09750a791afe6f56404
Author: Peter Eisentraut <peter_e@gmx.net>
Date: 2002-05-22T17:21:02Z
Releases: 7.3.1
Add optional "validator" function to languages that can validate the
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.

Files