one note, not related to this PR, it would be great if we could use variable names instead of $1 and support default values, last time i've tried it did not work
CREATE FUNCTION our_add(A BIGINT DEFAULT 3, B BIGINT DEFAULT 1)
RETURNS BIGINT
RETURN $A - $B
Originally posted by @milenkovicm in #17859 (comment)