Pavel Stehule <pavel.stehule@xxxxxxxxx> writes: > po 13. 9. 2021 v 13:23 odesílatel Herwig Goemans <herwig.goemans@xxxxxxxxx> > napsal: >> I get an error in a stored procedure - not a stored function mind you - >> control reached end of function without RETURN >> The error occurs when doing an exit <label> in a stored procedure. > This is Postgres's bug Yeah, agreed. Looks reasonably simple to fix, though. regards, tom lane