From d04fcbb2a7e863f71dc0ccd2d2e7ae15c7c57e32 Mon Sep 17 00:00:00 2001 From: Ryan Leckey Date: Fri, 16 Apr 2021 12:01:22 -0700 Subject: [PATCH] feat(postgres): add support for i128 and u128 --- sqlx-postgres/src/types/int.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sqlx-postgres/src/types/int.rs b/sqlx-postgres/src/types/int.rs index b3e5e088..11935fb3 100644 --- a/sqlx-postgres/src/types/int.rs +++ b/sqlx-postgres/src/types/int.rs @@ -95,8 +95,10 @@ impl_type_int! { i8 => SMALLINT } impl_type_int! { i16 => SMALLINT } impl_type_int! { i32 => INTEGER } impl_type_int! { i64 => BIGINT } +impl_type_int! { i128 => BIGINT } impl_type_int! { u8 => SMALLINT } impl_type_int! { u16 => SMALLINT } impl_type_int! { u32 => INTEGER } impl_type_int! { u64 => BIGINT } +impl_type_int! { u128 => BIGINT }