66 *
77 * Copyright (c) 1994, Regents of the University of California
88 *
9- * $Id: parse_coerce.h,v 1.7 1998/10/22 13:51:05 momjian Exp $
9+ * $Id: parse_coerce.h,v 1.7.2.1 1999/02/13 06:00:52 thomas Exp $
1010 *
1111 *-------------------------------------------------------------------------
1212 */
@@ -66,6 +66,9 @@ typedef enum CATEGORY
6666 * Check for types with the same underlying binary representation.
6767 * This allows us to cheat and directly exchange values without
6868 * going through the trouble of calling a conversion function.
69+ * Remove equivalencing of FLOAT8 and DATETIME. They really are not
70+ * close enough in behavior, with the DATETIME reserved values
71+ * and special formatting. - thomas 1999-01-24
6972 */
7073#define IS_BINARY_COMPATIBLE (a ,b ) \
7174 (((a) == BPCHAROID && (b) == TEXTOID) \
@@ -76,8 +79,6 @@ typedef enum CATEGORY
7679 || ((a) == TEXTOID && (b) == VARCHAROID) \
7780 || ((a) == OIDOID && (b) == INT4OID) \
7881 || ((a) == INT4OID && (b) == TIMESTAMPOID) \
79- || ((a) == DATETIMEOID && (b) == FLOAT8OID) \
80- || ((a) == FLOAT8OID && (b) == DATETIMEOID) \
8182 || ((a) == ABSTIMEOID && (b) == TIMESTAMPOID) \
8283 || ((a) == ABSTIMEOID && (b) == INT4OID) \
8384 || ((a) == TIMESTAMPOID && (b) == ABSTIMEOID) \
0 commit comments