Skip to content

Commit 1647d3a

Browse files
author
Hiroshi Inoue
committed
Allow comparison between xid and xid, int.
1 parent ebfa88c commit 1647d3a

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/include/catalog/pg_operator.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
99
* Portions Copyright (c) 1994, Regents of the University of California
1010
*
11-
* $Id: pg_operator.h,v 1.94 2001/09/28 08:09:13 thomas Exp $
11+
* $Id: pg_operator.h,v 1.95 2001/09/29 23:01:26 inoue Exp $
1212
*
1313
* NOTES
1414
* 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
138138
DATA(insert OID = 400 ( "=" PGUID 0 b t f 1027 1027 16 400 0 0 0 array_eq eqsel eqjoinsel ));
139139
DATA(insert OID = 401 ( "=" PGUID 0 b t f 1034 1034 16 401 0 0 0 array_eq eqsel eqjoinsel ));
140140

141+
DATA(insert OID = 352 ( "=" PGUID 0 b t t 28 28 16 352 0 0 0 xideq eqsel eqjoinsel ));
141142
DATA(insert OID = 387 ( "=" PGUID 0 b t t 27 27 16 387 0 0 0 tideq eqsel eqjoinsel ));
142143
#define TIDEqualOperator 387
143144
DATA(insert OID = 388 ( "!" PGUID 0 r t f 20 0 20 0 0 0 0 int8fac - - ));

src/include/parser/parse_coerce.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
88
* Portions Copyright (c) 1994, Regents of the University of California
99
*
10-
* $Id: parse_coerce.h,v 1.31 2001/06/24 02:41:21 momjian Exp $
10+
* $Id: parse_coerce.h,v 1.32 2001/09/29 23:01:26 inoue Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -95,6 +95,7 @@ typedef enum CATEGORY
9595
|| ((a) == INT4OID && (b) == REGPROCOID) \
9696
|| ((a) == REGPROCOID && (b) == OIDOID) \
9797
|| ((a) == REGPROCOID && (b) == INT4OID) \
98+
|| ((a) == XIDOID && (b) == INT4OID) \
9899
|| ((a) == ABSTIMEOID && (b) == INT4OID) \
99100
|| ((a) == INT4OID && (b) == ABSTIMEOID) \
100101
|| ((a) == RELTIMEOID && (b) == INT4OID) \

0 commit comments

Comments
 (0)