This is not too far to my proposal - and it is fully adequate alternative.
But what, if anything, does Ada do?
What I know, no, Ada has not this statement - but the design of OUT parameters in Ada absolutely different than PostgreSQL - so in this case we cannot to use Ada language as our base :(