summaryrefslogtreecommitdiff
path: root/src/include/catalog/pg_operator.h
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2002-08-22 04:45:11 +0000
committerBruce Momjian <bruce@momjian.us>2002-08-22 04:45:11 +0000
commita334ae3f2237d55369ac4b5cd6e9dbc2d35ab76d (patch)
tree597478b696d51a402db7938be648d43fcceed92d /src/include/catalog/pg_operator.h
parentc7e767293713cde41fb5f7ab11166ad6d22d9704 (diff)
downloadpostgresql-a334ae3f2237d55369ac4b5cd6e9dbc2d35ab76d.tar.gz
As suggested by Tom, this patch restricts the right-hand argument of
bytealike to TEXT. This leaves like_escape_bytea() without anything to do, but I left it in place in anticipation of the eventual bytea pattern selectivity functions. If there is agreement that this would be the best long term solution, I'll take it as a TODO for 7.4. Joe Conway
Diffstat (limited to 'src/include/catalog/pg_operator.h')
-rw-r--r--src/include/catalog/pg_operator.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/include/catalog/pg_operator.h b/src/include/catalog/pg_operator.h
index b9c880c354..ed71bae3bb 100644
--- a/src/include/catalog/pg_operator.h
+++ b/src/include/catalog/pg_operator.h
@@ -8,7 +8,7 @@
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $Id: pg_operator.h,v 1.106 2002/07/24 19:11:12 petere Exp $
+ * $Id: pg_operator.h,v 1.107 2002/08/22 04:45:11 momjian Exp $
*
* NOTES
* the genbki.sh script reads this file and generates .bki
@@ -827,9 +827,9 @@ DATA(insert OID = 1957 ( "<" PGNSP PGUID b f 17 17 16 1959 1960 0 0 0 0
DATA(insert OID = 1958 ( "<=" PGNSP PGUID b f 17 17 16 1960 1959 0 0 0 0 byteale scalarltsel scalarltjoinsel ));
DATA(insert OID = 1959 ( ">" PGNSP PGUID b f 17 17 16 1957 1958 0 0 0 0 byteagt scalargtsel scalargtjoinsel ));
DATA(insert OID = 1960 ( ">=" PGNSP PGUID b f 17 17 16 1958 1957 0 0 0 0 byteage scalargtsel scalargtjoinsel ));
-DATA(insert OID = 2016 ( "~~" PGNSP PGUID b f 17 17 16 0 2017 0 0 0 0 bytealike likesel likejoinsel ));
+DATA(insert OID = 2016 ( "~~" PGNSP PGUID b f 17 25 16 0 2017 0 0 0 0 bytealike likesel likejoinsel ));
#define OID_BYTEA_LIKE_OP 2016
-DATA(insert OID = 2017 ( "!~~" PGNSP PGUID b f 17 17 16 0 2016 0 0 0 0 byteanlike nlikesel nlikejoinsel ));
+DATA(insert OID = 2017 ( "!~~" PGNSP PGUID b f 17 25 16 0 2016 0 0 0 0 byteanlike nlikesel nlikejoinsel ));
DATA(insert OID = 2018 ( "||" PGNSP PGUID b f 17 17 17 0 0 0 0 0 0 byteacat - - ));
/* timestamp operators */