pub fn quote_ident(s: &str) -> String
Quote an identifier exactly like Postgres’ quote_ident does when quoting is needed (always quoting is equivalent and simpler).
quote_ident