Postgres which is the differene between returns and OUT when there is only one OUT
In question How to generate an array of given size, with one field populated? I have been instructed to write instead of a “returns” an “OUT” statement for a function definition.
The reason was that in that case I may assign to the OUT variable an anyarray “type” that seems impossible to do with return.