From 70c36970f46b9259b440e8a9cdaee402a2d9af1f Mon Sep 17 00:00:00 2001 From: FabianLars Date: Thu, 2 Mar 2023 16:22:13 +0100 Subject: [PATCH] typo --- plugins/sql/src/decode/postgres.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/sql/src/decode/postgres.rs b/plugins/sql/src/decode/postgres.rs index 0b4430e3..39c9acfd 100644 --- a/plugins/sql/src/decode/postgres.rs +++ b/plugins/sql/src/decode/postgres.rs @@ -17,7 +17,7 @@ pub(crate) fn to_json(v: PgValueRef) -> Result { JsonValue::Null } } - "FLOAT$" | "FLOAT8" => { + "FLOAT4" | "FLOAT8" => { if let Ok(v) = ValueRef::to_owned(&v).try_decode::() { JsonValue::from(v) } else {