mirror of
https://github.com/launchbadge/sqlx.git
synced 2025-10-02 15:25:32 +00:00
postgres: indicate that we do not support CITEXT right now
This commit is contained in:
parent
78f2633b26
commit
2409c2b042
@ -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 {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user