Hi,
is there a non-implementation reason as to why there are no expressions allowed in the arguments to the format string to RAISE, or is that just not implemented yet?
Just not done yet AFAIK. It would require some changes to the parser for plpgsql, but nothing too extreme. Might make a good project for someone learning more about PG's code.
-- Richard Huxton Archonet Ltd
---------------------------(end of broadcast)--------------------------- TIP 9: the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match