diff options
| author | Tom Lane <tgl@sss.pgh.pa.us> | 2003-08-17 19:58:06 +0000 |
|---|---|---|
| committer | Tom Lane <tgl@sss.pgh.pa.us> | 2003-08-17 19:58:06 +0000 |
| commit | ec646dbc65afc8c55118cb3fb75cb6fd18d78dd8 (patch) | |
| tree | bd256cf157c4636382d59938162326fccc70b62c /src/include/catalog/pg_opclass.h | |
| parent | d89578ccbefb83aa9f9d1c00269cd866be2cc857 (diff) | |
| download | postgresql-ec646dbc65afc8c55118cb3fb75cb6fd18d78dd8.tar.gz | |
Create a 'type cache' that keeps track of the data needed for any particular
datatype by array_eq and array_cmp; use this to solve problems with memory
leaks in array indexing support. The parser's equality_oper and ordering_oper
routines also use the cache. Change the operator search algorithms to look
for appropriate btree or hash index opclasses, instead of assuming operators
named '<' or '=' have the right semantics. (ORDER BY ASC/DESC now also look
at opclasses, instead of assuming '<' and '>' are the right things.) Add
several more index opclasses so that there is no regression in functionality
for base datatypes. initdb forced due to catalog additions.
Diffstat (limited to 'src/include/catalog/pg_opclass.h')
| -rw-r--r-- | src/include/catalog/pg_opclass.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/include/catalog/pg_opclass.h b/src/include/catalog/pg_opclass.h index bbd69dca5b..af277ad687 100644 --- a/src/include/catalog/pg_opclass.h +++ b/src/include/catalog/pg_opclass.h @@ -26,7 +26,7 @@ * Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: pg_opclass.h,v 1.56 2003/08/04 02:40:12 momjian Exp $ + * $Id: pg_opclass.h,v 1.57 2003/08/17 19:58:06 tgl Exp $ * * NOTES * the genbki.sh script reads this file and generates .bki @@ -157,6 +157,7 @@ DATA(insert OID = 2097 ( 403 bpchar_pattern_ops PGNSP PGUID 1042 f 0 )); #define BPCHAR_PATTERN_BTREE_OPS_OID 2097 DATA(insert OID = 2098 ( 403 name_pattern_ops PGNSP PGUID 19 f 0 )); #define NAME_PATTERN_BTREE_OPS_OID 2098 +DATA(insert OID = 2099 ( 403 money_ops PGNSP PGUID 790 t 0 )); DATA(insert OID = 2222 ( 405 bool_ops PGNSP PGUID 16 t 0 )); DATA(insert OID = 2223 ( 405 bytea_ops PGNSP PGUID 17 t 0 )); DATA(insert OID = 2224 ( 405 int2vector_ops PGNSP PGUID 22 t 0 )); @@ -168,5 +169,8 @@ DATA(insert OID = 2229 ( 405 text_pattern_ops PGNSP PGUID 25 f 0 )); DATA(insert OID = 2230 ( 405 varchar_pattern_ops PGNSP PGUID 1043 f 0 )); DATA(insert OID = 2231 ( 405 bpchar_pattern_ops PGNSP PGUID 1042 f 0 )); DATA(insert OID = 2232 ( 405 name_pattern_ops PGNSP PGUID 19 f 0 )); +DATA(insert OID = 2233 ( 403 reltime_ops PGNSP PGUID 703 t 0 )); +DATA(insert OID = 2234 ( 403 tinterval_ops PGNSP PGUID 704 t 0 )); +DATA(insert OID = 2235 ( 405 aclitem_ops PGNSP PGUID 1033 t 0 )); #endif /* PG_OPCLASS_H */ |
