When I posted feature request [ 593057 ], it looked
easy to implement. Now I know better.
Attached is a small hack to change the background color
of the output sub-window to red when a SQL error was
triggered. It could be done better, but for now this
solution works good enough.
I don't know if you prefer whole files or patch files,
that's why I'm attaching the whole file.