aboutsummaryrefslogtreecommitdiff
path: root/contrib/intarray/README.intarray
Commit message (Collapse)AuthorAge
* Move most /contrib README files into SGML. Some still need conversionBruce Momjian2007-11-10
| | | | or will never be converted.
* Remove ill-considered (not to mention undocumented) attempt to makeTom Lane2007-09-14
| | | | | contrib/intarray's GIN opclass override the built-in default. Per bug #3048 and other complaints.
* Rename contrib contains/contained-by operators to @> and <@, per discussion.Tom Lane2006-09-10
|
* Optimize benchmark query and update benchmark's results.Teodor Sigaev2005-10-03
|
* Add intset() to READMETeodor Sigaev2005-01-27
|
* Small fix in documentation and some examples of usage. Please, apply toBruce Momjian2002-12-27
| | | | | | 7.3 and current CVS Oleg Bartunov
* This is small README fix for contrib/intarray. Thank you.Bruce Momjian2002-10-03
| | | | Teodor Sigaev
* August 6, 2002Bruce Momjian2002-08-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Reworked patch from Andrey Oktyabrski (ano@spider.ru) with functions: icount, sort, sort_asc, uniq, idx, subarray operations: #, +, -, |, & FUNCTIONS: int icount(int[]) - the number of elements in intarray int[] sort(int[], 'asc' | 'desc') - sort intarray int[] sort(int[]) - sort in ascending order int[] sort_asc(int[]),sort_desc(int[]) - shortcuts for sort int[] uniq(int[]) - returns unique elements int idx(int[], int item) - returns index of first intarray matching element to item, or '0' if matching failed. int[] subarray(int[],int START [, int LEN]) - returns part of intarray starting from element number START (from 1) and length LEN. OPERATIONS: int[] && int[] - overlap - returns TRUE if arrays has at least one common elements. int[] @ int[] - contains - returns TRUE if left array contains right array int[] ~ int[] - contained - returns TRUE if left array is contained in right array # int[] - return the number of elements in array int[] + int - push element to array ( add to end of array) int[] + int[] - merge of arrays (right array added to the end of left one) int[] - int - remove entries matched by right argument from array int[] - int[] - remove left array from right int[] | int - returns intarray - union of arguments int[] | int[] - returns intarray as a union of two arrays int[] & int[] - returns intersection of arrays Oleg Bartunov
* 1. Implemented binary search in arrayBruce Momjian2001-10-04
| | | | Oleg Bartunov
* Changes:Tom Lane2001-09-30
| | | | | | | 1. gist__int_ops is now without lossy 2. added sort entry in picksplit Oleg Bartunov
* please apply attached patch to current CVS.Bruce Momjian2001-09-23
| | | | | | | | | | | Changes: 1. Added support for boolean queries (indexable operator @@, looks like a @@ '1|(2&3)' 2. Some code cleanup and optimization Regards, Oleg
* Restructure pg_opclass, pg_amop, and pg_amproc per previous discussions inTom Lane2001-08-21
| | | | | | | | | | | | | | | | | | | | pgsql-hackers. pg_opclass now has a row for each opclass supported by each index AM, not a row for each opclass name. This allows pg_opclass to show directly whether an AM supports an opclass, and furthermore makes it possible to store additional information about an opclass that might be AM-dependent. pg_opclass and pg_amop now store "lossy" and "haskeytype" information that we previously expected the user to remember to provide in CREATE INDEX commands. Lossiness is no longer an index-level property, but is associated with the use of a particular operator in a particular index opclass. Along the way, IndexSupportInitialize now uses the syscaches to retrieve pg_amop and pg_amproc entries. I find this reduces backend launch time by about ten percent, at the cost of a couple more special cases in catcache.c's IndexScanOK. Initial work by Oleg Bartunov and Teodor Sigaev, further hacking by Tom Lane. initdb forced.
* Repair intarray's problems with TOASTed input, avoid scribbling onTom Lane2001-03-20
| | | | | source data, improve split algorithm for intbig_ops. Oleg Bartunov with some kibitzing from Tom Lane.
* Update contrib intarray to Jan 25 version.Bruce Momjian2001-03-17
|
* commit Oleg and Teodor's RD-tree implementation ... this provides theMarc G. Fournier2001-01-12
regression tests for the GiST changes ... this should be integrated into the regular regression tests similar to Vadim's SPI contrib stuff ...