disable date/time type too as they are also affected by integer_datetimes
authorMarko Kreen <markokr@gmail.com>
Fri, 4 Jan 2008 09:31:35 +0000 (09:31 +0000)
committerMarko Kreen <markokr@gmail.com>
Fri, 4 Jan 2008 09:31:35 +0000 (09:31 +0000)
src/type.c

index a74eec83dd7a8bc4bfab3c59440453059baba47b..1dab85bdbb4a5aee024f159acce13fb1606e33f6 100644 (file)
@@ -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: