Using Postgres 12.x, I\'ve just run into a weird problem. For some reason, I\'m not getting COALESCE to work in a stored SQL function. Meaning, I get NULL
COALESCE
NULL