On Fri, Feb 16, 2018 at 5:31 AM, mariusz <marius(at)mtvk(dot)pl> wrote:
> so, if there is a reason for such a construct and it does something i
> didn't notice, please let me know what is the purpose of keyword RETURN
> after a valid statement.
>
https://www.postgresql.org/docs/10/static/plpgsql-control-structures.html#PLPGSQL-STATEMENTS-RETURNING
David J.