mirror of
https://github.com/postgres/postgres.git
synced 2025-10-27 00:12:01 +03:00
Back out BYTEA binary compatibility changes.
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
* Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $Id: parse_coerce.h,v 1.30 2001/06/23 22:23:49 momjian Exp $
|
||||
* $Id: parse_coerce.h,v 1.31 2001/06/24 02:41:21 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -46,7 +46,6 @@ typedef enum CATEGORY
|
||||
|| ((t) == BPCHAROID) \
|
||||
|| ((t) == VARCHAROID) \
|
||||
|| ((t) == TEXTOID) \
|
||||
|| ((t) == BYTEAOID) \
|
||||
|| ((t) == INT4OID) \
|
||||
|| ((t) == INT8OID) \
|
||||
|| ((t) == FLOAT8OID) \
|
||||
@@ -86,16 +85,10 @@ typedef enum CATEGORY
|
||||
#define IS_BINARY_COMPATIBLE(a,b) \
|
||||
(((a) == BPCHAROID && (b) == TEXTOID) \
|
||||
|| ((a) == BPCHAROID && (b) == VARCHAROID) \
|
||||
|| ((a) == BPCHAROID && (b) == BYTEAOID) \
|
||||
|| ((a) == VARCHAROID && (b) == TEXTOID) \
|
||||
|| ((a) == VARCHAROID && (b) == BPCHAROID) \
|
||||
|| ((a) == VARCHAROID && (b) == BYTEAOID) \
|
||||
|| ((a) == TEXTOID && (b) == BPCHAROID) \
|
||||
|| ((a) == TEXTOID && (b) == VARCHAROID) \
|
||||
|| ((a) == TEXTOID && (b) == BYTEAOID) \
|
||||
|| ((a) == BYTEAOID && (b) == BPCHAROID) \
|
||||
|| ((a) == BYTEAOID && (b) == VARCHAROID) \
|
||||
|| ((a) == BYTEAOID && (b) == TEXTOID) \
|
||||
|| ((a) == OIDOID && (b) == INT4OID) \
|
||||
|| ((a) == OIDOID && (b) == REGPROCOID) \
|
||||
|| ((a) == INT4OID && (b) == OIDOID) \
|
||||
|
||||
Reference in New Issue
Block a user