We learned that it is useful to
a) have separate condition to distinguish s-sql parsing errors from others b) have :delete-from syntax extended: sometimes it is necessary to return keys of deleted rows.
Both patches (generated by git) are in attach. It would be very nice to see them in upstream.