From 1647d3ae61c46c8bce2690dc7c3b14b4299c3dd3 Mon Sep 17 00:00:00 2001 From: Hiroshi Inoue Date: Sat, 29 Sep 2001 23:01:26 +0000 Subject: [PATCH] Allow comparison between xid and xid, int. --- src/include/catalog/pg_operator.h | 3 ++- src/include/parser/parse_coerce.h | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/include/catalog/pg_operator.h b/src/include/catalog/pg_operator.h index e5afc73ea4a..85ad7201e1a 100644 --- a/src/include/catalog/pg_operator.h +++ b/src/include/catalog/pg_operator.h @@ -8,7 +8,7 @@ * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: pg_operator.h,v 1.94 2001/09/28 08:09:13 thomas Exp $ + * $Id: pg_operator.h,v 1.95 2001/09/29 23:01:26 inoue Exp $ * * NOTES * the genbki.sh script reads this file and generates .bki @@ -138,6 +138,7 @@ DATA(insert OID = 398 ( "=" PGUID 0 b t f 1025 1025 16 398 0 0 0 array_e DATA(insert OID = 400 ( "=" PGUID 0 b t f 1027 1027 16 400 0 0 0 array_eq eqsel eqjoinsel )); DATA(insert OID = 401 ( "=" PGUID 0 b t f 1034 1034 16 401 0 0 0 array_eq eqsel eqjoinsel )); +DATA(insert OID = 352 ( "=" PGUID 0 b t t 28 28 16 352 0 0 0 xideq eqsel eqjoinsel )); DATA(insert OID = 387 ( "=" PGUID 0 b t t 27 27 16 387 0 0 0 tideq eqsel eqjoinsel )); #define TIDEqualOperator 387 DATA(insert OID = 388 ( "!" PGUID 0 r t f 20 0 20 0 0 0 0 int8fac - - )); diff --git a/src/include/parser/parse_coerce.h b/src/include/parser/parse_coerce.h index 6634dbfc294..4f5cce1848d 100644 --- a/src/include/parser/parse_coerce.h +++ b/src/include/parser/parse_coerce.h @@ -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.31 2001/06/24 02:41:21 momjian Exp $ + * $Id: parse_coerce.h,v 1.32 2001/09/29 23:01:26 inoue Exp $ * *------------------------------------------------------------------------- */ @@ -95,6 +95,7 @@ typedef enum CATEGORY || ((a) == INT4OID && (b) == REGPROCOID) \ || ((a) == REGPROCOID && (b) == OIDOID) \ || ((a) == REGPROCOID && (b) == INT4OID) \ + || ((a) == XIDOID && (b) == INT4OID) \ || ((a) == ABSTIMEOID && (b) == INT4OID) \ || ((a) == INT4OID && (b) == ABSTIMEOID) \ || ((a) == RELTIMEOID && (b) == INT4OID) \