From 8919e34357c4f1fbc3d7ee3b9956b0ab1a3e660e Mon Sep 17 00:00:00 2001 From: Austin Bonander Date: Wed, 21 Aug 2024 14:04:21 -0700 Subject: [PATCH] fix(postgres): syntax error in nullables query --- sqlx-postgres/src/connection/describe.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sqlx-postgres/src/connection/describe.rs b/sqlx-postgres/src/connection/describe.rs index 9d532a517..145616fec 100644 --- a/sqlx-postgres/src/connection/describe.rs +++ b/sqlx-postgres/src/connection/describe.rs @@ -451,7 +451,7 @@ WHERE rngtypid = $1 .push_unseparated("::int4"); tuple .push_bind(column.relation_attribute_no) - .push_bind_unseparated("::int2"); + .push_unseparated("::int2"); }); nullable_query.push(