Rod Taylor <rbt@zort.ca> writes:
> Likewise, the below fails to compile due to error message being an
> expression. I know this one used to work not all that long ago.
> Digging through 7.0 docs even found an example of it.
No, it never worked; that's why it was taken out of the docs.
The RAISE syntax is indeed annoyingly restrictive --- feel free to
improve it.
regards, tom lane