diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2002-03-20 19:45:13 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2002-03-20 19:45:13 +0000 |
commit | 337b22cb473f1c5cca011a511c488d20e153eec4 (patch) | |
tree | bfec217a7ac7672d796217bfd9dce348a255e1b0 /src/backend/optimizer/path/indxpath.c | |
parent | 251282d4b7bf7593cece7c4ce5669beb778604e3 (diff) |
Code review for DOMAIN patch.
Diffstat (limited to 'src/backend/optimizer/path/indxpath.c')
-rw-r--r-- | src/backend/optimizer/path/indxpath.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/optimizer/path/indxpath.c b/src/backend/optimizer/path/indxpath.c index b07f0fb0066..3458c69f1b5 100644 --- a/src/backend/optimizer/path/indxpath.c +++ b/src/backend/optimizer/path/indxpath.c @@ -9,7 +9,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/optimizer/path/indxpath.c,v 1.113 2002/03/02 21:39:26 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/optimizer/path/indxpath.c,v 1.114 2002/03/20 19:44:09 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -900,9 +900,9 @@ indexable_operator(Expr *clause, Oid opclass, bool indexkey_on_left) */ if (ltype == indexkeytype && rtype == indexkeytype) return InvalidOid; /* no chance for a different operator */ - if (ltype != indexkeytype && !IS_BINARY_COMPATIBLE(ltype, indexkeytype)) + if (!IsBinaryCompatible(ltype, indexkeytype)) return InvalidOid; - if (rtype != indexkeytype && !IS_BINARY_COMPATIBLE(rtype, indexkeytype)) + if (!IsBinaryCompatible(rtype, indexkeytype)) return InvalidOid; /* |