Added workaround for usage of returning() when using other than postgres drivers