From 2409c2b042337739102aa773cf36252945ce5b12 Mon Sep 17 00:00:00 2001 From: Ryan Leckey Date: Wed, 25 Mar 2020 18:57:12 -0700 Subject: [PATCH] postgres: indicate that we do not support CITEXT right now --- sqlx-core/src/postgres/types/mod.rs | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/sqlx-core/src/postgres/types/mod.rs b/sqlx-core/src/postgres/types/mod.rs index 64f57fd3..5c05d198 100644 --- a/sqlx-core/src/postgres/types/mod.rs +++ b/sqlx-core/src/postgres/types/mod.rs @@ -10,7 +10,7 @@ //! | `i64` | BIGINT, BIGSERIAL, INT8 | //! | `f32` | REAL, FLOAT4 | //! | `f64` | DOUBLE PRECISION, FLOAT8 | -//! | `&str`, `String` | VARCHAR, CHAR(N), TEXT, CITEXT, NAME | +//! | `&str`, `String` | VARCHAR, CHAR(N), TEXT, NAME | //! | `&[u8]`, `Vec` | BYTEA | //! //! ### [`chrono`](https://crates.io/crates/chrono) @@ -193,11 +193,6 @@ impl PgTypeInfo { } } - #[doc(hidden)] - pub fn type_name(&self) -> &str { - self.name.as_deref().unwrap_or("") - } - #[doc(hidden)] pub fn type_feature_gate(&self) -> Option<&'static str> { match self.id {