(conn, sql, search_path)
| 268 | |
| 269 | |
| 270 | def execute_dict_search_path(conn, sql, search_path): |
| 271 | if conn.transaction_status() == 1: |
| 272 | return True, BUSY |
| 273 | |
| 274 | sql_search = SET_SEARCH_PATH.format(search_path) |
| 275 | status, res = conn.execute_void(sql_search) |
| 276 | |
| 277 | if not status: |
| 278 | current_app.logger.debug( |
| 279 | "Error setting the search path.") |
| 280 | return False, res |
| 281 | |
| 282 | status, res = conn.execute_dict(sql) |
| 283 | return status, res |
| 284 | |
| 285 | |
| 286 | def execute_async_search_path(conn, sql, search_path): |
no test coverage detected