summaryrefslogtreecommitdiff
path: root/contrib/intarray/README.intarray
AgeCommit message (Collapse)Author
2007-11-10Move most /contrib README files into SGML. Some still need conversionBruce Momjian
or will never be converted.
2007-09-14Remove ill-considered (not to mention undocumented) attempt to makeTom Lane
contrib/intarray's GIN opclass override the built-in default. Per bug #3048 and other complaints.
2006-09-10Rename contrib contains/contained-by operators to @> and <@, per discussion.Tom Lane
2005-10-03Optimize benchmark query and update benchmark's results.Teodor Sigaev
2005-01-27Add intset() to READMETeodor Sigaev
2002-12-27Small fix in documentation and some examples of usage. Please, apply toBruce Momjian
7.3 and current CVS Oleg Bartunov
2002-10-03This is small README fix for contrib/intarray. Thank you.Bruce Momjian
Teodor Sigaev
2002-08-10August 6, 2002Bruce Momjian
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
2001-10-04 1. Implemented binary search in arrayBruce Momjian
Oleg Bartunov
2001-09-30Changes:Tom Lane
1. gist__int_ops is now without lossy 2. added sort entry in picksplit Oleg Bartunov
2001-09-23please apply attached patch to current CVS.Bruce Momjian
Changes: 1. Added support for boolean queries (indexable operator @@, looks like a @@ '1|(2&3)' 2. Some code cleanup and optimization Regards, Oleg
2001-08-21Restructure pg_opclass, pg_amop, and pg_amproc per previous discussions inTom Lane
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.
2001-03-20Repair intarray's problems with TOASTed input, avoid scribbling onTom Lane
source data, improve split algorithm for intbig_ops. Oleg Bartunov with some kibitzing from Tom Lane.
2001-03-17Update contrib intarray to Jan 25 version.Bruce Momjian
2001-01-12commit Oleg and Teodor's RD-tree implementation ... this provides theMarc G. Fournier
regression tests for the GiST changes ... this should be integrated into the regular regression tests similar to Vadim's SPI contrib stuff ...