summaryrefslogtreecommitdiff
path: root/src/include/catalog/pg_operator.h
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2001-08-13 18:45:36 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2001-08-13 18:45:36 +0000
commit95f8901a96373531070e0eeecfc4953222c0c7e9 (patch)
treee2f39ea1ba37de0b9fca240178745c051bd4d41a /src/include/catalog/pg_operator.h
parent4d7af987593bfc7f22857d2c5023b91217530e43 (diff)
downloadpostgresql-95f8901a96373531070e0eeecfc4953222c0c7e9.tar.gz
Add comparison operators and btree indexing support for type bytea.
From Joe Conway.
Diffstat (limited to 'src/include/catalog/pg_operator.h')
-rw-r--r--src/include/catalog/pg_operator.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/include/catalog/pg_operator.h b/src/include/catalog/pg_operator.h
index 171ab3dc79..ef4806f17a 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.91 2001/06/17 02:05:20 tgl Exp $
+ * $Id: pg_operator.h,v 1.92 2001/08/13 18:45:36 tgl Exp $
*
* NOTES
* the genbki.sh script reads this file and generates .bki
@@ -809,6 +809,14 @@ DATA(insert OID = 1919 ( "+" PGUID 0 l t f 0 700 700 0 0 0 0 float4
DATA(insert OID = 1920 ( "+" PGUID 0 l t f 0 701 701 0 0 0 0 float8up - - ));
DATA(insert OID = 1921 ( "+" PGUID 0 l t f 0 1700 1700 0 0 0 0 numeric_uplus - - ));
+/* bytea operators */
+DATA(insert OID = 1955 ( "=" PGUID 0 b t t 17 17 16 1955 1956 1957 1957 byteaeq eqsel eqjoinsel ));
+DATA(insert OID = 1956 ( "<>" PGUID 0 b t f 17 17 16 1956 1955 0 0 byteane neqsel neqjoinsel ));
+DATA(insert OID = 1957 ( "<" PGUID 0 b t f 17 17 16 1959 1960 0 0 bytealt scalarltsel scalarltjoinsel ));
+DATA(insert OID = 1958 ( "<=" PGUID 0 b t f 17 17 16 1960 1959 0 0 byteale scalarltsel scalarltjoinsel ));
+DATA(insert OID = 1959 ( ">" PGUID 0 b t f 17 17 16 1957 1958 0 0 byteagt scalargtsel scalargtjoinsel ));
+DATA(insert OID = 1960 ( ">=" PGUID 0 b t f 17 17 16 1958 1957 0 0 byteage scalargtsel scalargtjoinsel ));
+
/*
* function prototypes
*/