Skip to content

Commit

Permalink
Merge pull request #3854 from brocaar/postgres_backend_fixes
Browse files Browse the repository at this point in the history
Fix impl SqlOrd postgres > postgres_backend feature flag.
  • Loading branch information
weiznich authored Nov 18, 2023
2 parents 99857a2 + 7c2b50c commit 566dccc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions diesel/src/sql_types/ord.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ impl SqlOrd for sql_types::Time {}
impl SqlOrd for sql_types::Timestamp {}
impl<T> SqlOrd for sql_types::Nullable<T> where T: SqlOrd + SqlType<IsNull = is_nullable::NotNull> {}

#[cfg(feature = "postgres")]
#[cfg(feature = "postgres_backend")]
impl SqlOrd for sql_types::Timestamptz {}
#[cfg(feature = "postgres")]
#[cfg(feature = "postgres_backend")]
impl<T: SqlOrd> SqlOrd for sql_types::Array<T> {}

#[cfg(feature = "mysql_backend")]
Expand Down

0 comments on commit 566dccc

Please sign in to comment.