From: Marko Kreen Date: Fri, 4 Jan 2008 09:31:35 +0000 (+0000) Subject: disable date/time type too as they are also affected by integer_datetimes X-Git-Tag: plproxy_2_0_4~1 X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=26ef8ee18500bf209d43066fc62cc64c74230942;p=plproxy.git disable date/time type too as they are also affected by integer_datetimes --- diff --git a/src/type.c b/src/type.c index a74eec8..1dab85b 100644 --- a/src/type.c +++ b/src/type.c @@ -40,14 +40,14 @@ static bool usable_binary(Oid oid) case FLOAT4OID: case FLOAT8OID: case NUMERICOID: - case DATEOID: - case TIMEOID: case BYTEAOID: return true; /* integer vs. float issue */ case TIMESTAMPOID: case TIMESTAMPTZOID: + case DATEOID: + case TIMEOID: /* interval binary fmt changed in 8.1 */ case INTERVALOID: