"Richard Huxton" <dev(at)archonet(dot)com> writes:
> Don't know why the parser for RAISE doesn't like string concat.
Laziness ;-). Someone should fix plpgsql so that RAISE does take
expressions, not just literals and simple variables. It probably
wouldn't be a big change, but I've no time to look at it myself;
any volunteers out there?
regards, tom lane