Can you either get a more recent copy of the postgres driver
or get the real error message from the -error.log file?
"Query was not a statement returning rows." is the generic
error and sort of impossible to fix from that.
That said, it might be related to having removed workflow from the core (I thought lars had fixed that one though).