Determines if the search_path should be refreshed by checking if the sql has 'set search_path'.
(sql)
| 1768 | |
| 1769 | |
| 1770 | def has_change_path_cmd(sql): |
| 1771 | """Determines if the search_path should be refreshed by checking if the |
| 1772 | sql has 'set search_path'.""" |
| 1773 | return "set search_path" in sql.lower() |
| 1774 | |
| 1775 | |
| 1776 | def is_mutating(status): |