From 13866d440c16e729448874f4c11a53d7c4793473 Mon Sep 17 00:00:00 2001 From: MinhLA1410 <36942826+MinhLA1410@users.noreply.github.com> Date: Thu, 7 Jan 2021 16:26:52 +0700 Subject: [PATCH] [Fix] ERROR: parquet_fdw: integer out of range When use debug-mode parquet_fdw Remove the redundant 'res' variable in read_primitive_type() function. --- parquet_impl.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/parquet_impl.cpp b/parquet_impl.cpp index b5ef589..0aa323b 100644 --- a/parquet_impl.cpp +++ b/parquet_impl.cpp @@ -834,7 +834,6 @@ class ParquetFdwReader { MemoryContext ccxt = CurrentMemoryContext; bool error = false; - Datum res; char errstr[ERROR_STR_LEN]; PG_TRY();