(conn, sql, search_path)
| 284 | |
| 285 | |
| 286 | def execute_async_search_path(conn, sql, search_path): |
| 287 | if conn.transaction_status() == 1: |
| 288 | return True, BUSY |
| 289 | |
| 290 | sql_search = SET_SEARCH_PATH.format(search_path) |
| 291 | status, res = conn.execute_void(sql_search) |
| 292 | |
| 293 | if not status: |
| 294 | current_app.logger.debug( |
| 295 | "Error setting the search path.") |
| 296 | return False, res |
| 297 | |
| 298 | status, res = conn.execute_async(sql) |
| 299 | return status, res |
| 300 | |
| 301 | |
| 302 | def check_server_type(server_type, manager): |
no test coverage detected