(query: &str)
| 31 | }); |
| 32 | |
| 33 | fn preprocess_query(query: &str) -> String { |
| 34 | if PG_SHOW_ALL_SETTINGS_PATTERN.is_match(query) { |
| 35 | PG_SHOW_ALL_SETTINGS_PATTERN.replace_all(query, "pg_settings").to_string() |
| 36 | } else { |
| 37 | query.to_string() |
| 38 | } |
| 39 | } |
| 40 | |
| 41 | /// Combined schema information for a table |
| 42 | #[derive(Clone)] |
no outgoing calls