diff options
| author | Tom Lane <tgl@sss.pgh.pa.us> | 2003-06-27 00:33:26 +0000 |
|---|---|---|
| committer | Tom Lane <tgl@sss.pgh.pa.us> | 2003-06-27 00:33:26 +0000 |
| commit | b3c0551edaf390ab7bde4ebcc2299d1b0da686c5 (patch) | |
| tree | 46512d8ab2d8eeb570722878904f367effb1383d /src/include/catalog/pg_opclass.h | |
| parent | 0c985ab5a86b4ca9d8e312bfd0db5536b2be121e (diff) | |
| download | postgresql-b3c0551edaf390ab7bde4ebcc2299d1b0da686c5.tar.gz | |
Create real array comparison functions (that use the element datatype's
comparison functions), replacing the highly bogus bitwise array_eq. Create
a btree index opclass for ANYARRAY --- it is now possible to create indexes
on array columns.
Arrange to cache the results of catalog lookups across multiple array
operations, instead of repeating the lookups on every call.
Add string_to_array and array_to_string functions.
Remove singleton_array, array_accum, array_assign, and array_subscript
functions, since these were for proof-of-concept and not intended to become
supported functions.
Minor adjustments to behavior in some corner cases with empty or
zero-dimensional arrays.
Joe Conway (with some editorializing by Tom Lane).
Diffstat (limited to 'src/include/catalog/pg_opclass.h')
| -rw-r--r-- | src/include/catalog/pg_opclass.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/include/catalog/pg_opclass.h b/src/include/catalog/pg_opclass.h index 88d2aac1a7..5d635523ca 100644 --- a/src/include/catalog/pg_opclass.h +++ b/src/include/catalog/pg_opclass.h @@ -26,7 +26,7 @@ * Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: pg_opclass.h,v 1.53 2003/06/25 21:30:32 momjian Exp $ + * $Id: pg_opclass.h,v 1.54 2003/06/27 00:33:25 tgl Exp $ * * NOTES * the genbki.sh script reads this file and generates .bki @@ -87,6 +87,8 @@ typedef FormData_pg_opclass *Form_pg_opclass; */ DATA(insert OID = 421 ( 403 abstime_ops PGNSP PGUID 702 t 0 )); +DATA(insert OID = 397 ( 403 array_ops PGNSP PGUID 2277 t 0 )); +#define ARRAY_BTREE_OPS_OID 397 DATA(insert OID = 422 ( 402 bigbox_ops PGNSP PGUID 603 f 0 )); DATA(insert OID = 423 ( 403 bit_ops PGNSP PGUID 1560 t 0 )); DATA(insert OID = 424 ( 403 bool_ops PGNSP PGUID 16 t 0 )); |
