summaryrefslogtreecommitdiff
path: root/contrib/intarray
Commit message (Collapse)AuthorAgeFilesLines
* Repair some problems in GIST-index contrib modules. Patch fromTom Lane2002-02-071-0/+4
| | | | Teodor Sigaev <teodor@stack.net>.
* Remove bogus pg_amop insertion commands, per discussion of 25-Oct.Tom Lane2001-11-241-16/+0
| | | | | No change in results of script, but perhaps less confusion for people reading it.
* 1. Implemented binary search in arrayBruce Momjian2001-10-042-24/+20
| | | | Oleg Bartunov
* Changes:Tom Lane2001-09-303-198/+155
| | | | | | | 1. gist__int_ops is now without lossy 2. added sort entry in picksplit Oleg Bartunov
* Update required due to recent changes in FigureColname.Tom Lane2001-09-301-54/+54
|
* please apply attached patch to current CVS.Bruce Momjian2001-09-235-91/+1256
| | | | | | | | | | | Changes: 1. Added support for boolean queries (indexable operator @@, looks like a @@ '1|(2&3)' 2. Some code cleanup and optimization Regards, Oleg
* To fix the perpetually broken makefiles in the contrib tree, I havePeter Eisentraut2001-09-061-48/+6
| | | | | | written a generic framework of rules that the contrib makefiles can use instead of writing their own each time. You only need to set a few variables and off you go.
* Update GiST for new pg_opclass arrangement (finally a clean solutionTom Lane2001-08-221-3/+3
| | | | | | for haskeytype). Update GiST contrib modules too. Add linear-time split algorithm for R-tree GiST opclass. From Oleg Bartunov and Teodor Sigaev.
* Restructure pg_opclass, pg_amop, and pg_amproc per previous discussions inTom Lane2001-08-215-105/+157
| | | | | | | | | | | | | | | | | | | | 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.
* Make OIDs optional, per discussions in pghackers. WITH OIDS is still theTom Lane2001-08-101-20/+5
| | | | | | | | | | | | default, but OIDS are removed from many system catalogs that don't need them. Some interesting side effects: TOAST pointers are 20 bytes not 32 now; pg_description has a three-column key instead of one. Bugs fixed in passing: BINARY cursors work again; pg_class.relhaspkey has some usefulness; pg_dump dumps comments on indexes, rules, and triggers in a valid order. initdb forced.
* 1. null-safe interface to GiSTBruce Momjian2001-08-101-8/+8
| | | | | | | | | | | | | | (as proposed in http://fts.postgresql.org/db/mw/msg.html?mid=1028327) 2. support for 'pass-by-value' arguments - to test this we used special opclass for int4 with values in range [0-2^15] More testing will be done after resolving problem with index_formtuple and implementation of B-tree using GiST 3. small patch to contrib modules (seg,cube,rtree_gist,intarray) - mark functions as 'isstrict' where needed. Oleg Bartunov
* Looks okay in a quick glance, except error message spelling is poor:Bruce Momjian2001-08-041-1/+1
| | | | | | | | | | | ! #define ARRISNULL(x) ( (x) ? ( ( ARR_NDIM(x) == NDIM ) ? ( ( ARRNELEMS( x ) ) ? 0 : 1 ) : ( ( ARR_NDIM(x) ) ? (elog(ERROR,"Array is not one-dimentional: %d di mentions", ARR_NDIM(x)),1) : 1 ) ) : 1 ) Should be "one-dimensional" and "dimensions". Bruce, would you fix that when you apply it? Tom
* 1. Fixed error with empty array ( '{}' ),Bruce Momjian2001-08-042-21/+36
| | | | | | | test data changed to include such data 2. Test a dimension of an array ( we support only one-dimension) Oleg Bartunov
* The attached patch enables the contrib subtree to build cleanly underBruce Momjian2001-06-181-1/+2
| | | | | | | | | | | | | | | | | | | | | Cygwin with the possible exception of mSQL-interface. Since I don't have mSQL installed, I skipped this tool. Except for dealing with a missing getopt.h (oid2name) and HUGE (seg), the bulk of the patch uses the standard PostgreSQL approach to deal with Windows DLL issues. I tested the build aspect of this patch under Cygwin and Linux without any ill affects. Note that I did not actually attempt to test the code for functionality. The procedure to apply the patch is as follows: $ # save the attachment as /tmp/contrib.patch $ # change directory to the top of the PostgreSQL source tree $ patch -p0 </tmp/contrib.patch Jason
* contrib/intarray updates from Oleg Bartunov:Tom Lane2001-06-111-138/+263
| | | | | it's reimplemented to use function interface version 1 and special treating of degenerated signatures.
* Ooops, forgot to commit Makefile along with other changes.Tom Lane2001-05-311-2/+2
|
* Updates to make GIST work with multi-key indexes (from Oleg BartunovTom Lane2001-05-311-76/+52
| | | | | and Teodor Sigaev). Declare key values as Datum where appropriate, rather than char* (Tom Lane).
* Run pgindent on _int.c, for Tom Lane. I had skipped this file becauseBruce Momjian2001-03-221-748/+939
| | | | | of a complex macro that pgindent complained about. Hand-adjusted macro for pgindent run.
* Repair intarray's problems with TOASTed input, avoid scribbling onTom Lane2001-03-204-186/+2210
| | | | | source data, improve split algorithm for intbig_ops. Oleg Bartunov with some kibitzing from Tom Lane.
* Restore include-file updates, and fix some of the more glaring macroTom Lane2001-03-181-16/+20
| | | | | sloppiness (insufficient parenthesization, etc). It still fails regress test for me, however.
* Restore Peter's makefile fixes.Tom Lane2001-03-181-24/+11
|
* Update contrib intarray to Jan 25 version.Bruce Momjian2001-03-177-266/+816
|
* Make sure -L and -I's for our source tree are always before system includePeter Eisentraut2001-02-201-2/+2
| | | | or library directories on the command line.
* Add // -> /* */ mapping to pgindent.Bruce Momjian2001-02-121-4/+4
|
* Restructure the key include files per recent pghackers discussion: thereTom Lane2001-02-101-2/+2
| | | | | | | | | | | are now separate files "postgres.h" and "postgres_fe.h", which are meant to be the primary include files for backend .c files and frontend .c files respectively. By default, only include files meant for frontend use are installed into the installation include directory. There is a new make target 'make install-all-headers' that adds the whole content of the src/include tree to the installed fileset, for use by people who want to develop server-side code without keeping the complete source tree on hand. Cleaned up a whole lot of crufty and inconsistent header inclusions.
* Clean up garbage.Peter Eisentraut2001-01-131-26/+10
|
* Surely one README file is enough.Peter Eisentraut2001-01-131-76/+0
|
* Surely we don't need a 7.0.3 makefile in 7.1.Peter Eisentraut2001-01-121-64/+0
|
* Add to DROP todo.Bruce Momjian2001-01-121-0/+76
|
* commit Oleg and Teodor's RD-tree implementation ... this provides theMarc G. Fournier2001-01-1210-0/+6478
regression tests for the GiST changes ... this should be integrated into the regular regression tests similar to Vadim's SPI contrib stuff ...