postgres: indicate that we do not support CITEXT right now

This commit is contained in:
Ryan Leckey 2020-03-25 18:57:12 -07:00
parent 78f2633b26
commit 2409c2b042

View File

@ -10,7 +10,7 @@
//! | `i64` | BIGINT, BIGSERIAL, INT8 | //! | `i64` | BIGINT, BIGSERIAL, INT8 |
//! | `f32` | REAL, FLOAT4 | //! | `f32` | REAL, FLOAT4 |
//! | `f64` | DOUBLE PRECISION, FLOAT8 | //! | `f64` | DOUBLE PRECISION, FLOAT8 |
//! | `&str`, `String` | VARCHAR, CHAR(N), TEXT, CITEXT, NAME | //! | `&str`, `String` | VARCHAR, CHAR(N), TEXT, NAME |
//! | `&[u8]`, `Vec<u8>` | BYTEA | //! | `&[u8]`, `Vec<u8>` | BYTEA |
//! //!
//! ### [`chrono`](https://crates.io/crates/chrono) //! ### [`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("<UNKNOWN>")
}
#[doc(hidden)] #[doc(hidden)]
pub fn type_feature_gate(&self) -> Option<&'static str> { pub fn type_feature_gate(&self) -> Option<&'static str> {
match self.id { match self.id {