From 834c96f14711003052ff726023c6efd0cef89f4c Mon Sep 17 00:00:00 2001 From: bdietrich Date: Fri, 9 May 2014 13:58:59 +0200 Subject: [PATCH] Fix type conversion Convert int4 to SqlIntegerT not to SqlBigIntT --- Database/HDBC/PostgreSQL/PTypeConv.hsc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Database/HDBC/PostgreSQL/PTypeConv.hsc b/Database/HDBC/PostgreSQL/PTypeConv.hsc index 27d2b46..dbec1e2 100644 --- a/Database/HDBC/PostgreSQL/PTypeConv.hsc +++ b/Database/HDBC/PostgreSQL/PTypeConv.hsc @@ -63,7 +63,7 @@ oidToColType oid = #{const PG_TYPE_INT2} -> SqlSmallIntT #{const PG_TYPE_OID} -> SqlIntegerT #{const PG_TYPE_XID} -> SqlIntegerT - #{const PG_TYPE_INT4} -> SqlBigIntT + #{const PG_TYPE_INT4} -> SqlIntegerT #{const PG_TYPE_INT8} -> SqlBigIntT #{const PG_TYPE_NUMERIC} -> SqlNumericT #{const PG_TYPE_FLOAT4} -> SqlRealT