On 12.04.21 21:00, Laurenz Albe wrote:
Here is an improved patch, which treats END in the same fashion (not properly indented for readability).Thanks, I took another look at this and augmented your change with a change that tracks whether the statement starts with CREATE [OR REPLACE] {FUNCTION|PROCEDURE}. That should make it pretty safe. What do you think?Thanks, that is fine with me and more than I asked for. That should definitely exclude all false positive matches.
committed