Skip to content
Snippets Groups Projects
Commit d60f10b0 authored by Peter Eisentraut's avatar Peter Eisentraut
Browse files

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.
parent df9c8e1a
No related branches found
No related tags found
Loading
Showing
with 339 additions and 102 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment