summaryrefslogtreecommitdiff
path: root/contrib/btree_gist
AgeCommit message (Collapse)Author
2006-07-14Fix a passel of recently-committed violations of the rule 'thou shaltTom Lane
have no other gods before c.h'. Also remove some demonstrably redundant #include lines, mostly of <errno.h> which was added to c.h years ago.
2006-07-14Add additional includes needed on some platforms.Bruce Momjian
2006-07-13Adjust /contrib for new include file contents.Bruce Momjian
2006-07-11Sort reference of include files, "A" - "F".Bruce Momjian
2006-07-10Add #include code to prevent multiple inclusion.Bruce Momjian
2006-07-10Remove a few baby-C macros in fuzzystrmatch. Add a few missing includes.Bruce Momjian
2006-06-28ChangesTeodor Sigaev
* new split algorithm (as proposed in http://archives.postgresql.org/pgsql-hackers/2006-06/msg00254.php) * possible call pickSplit() for second and below columns * add spl_(l|r)datum_exists to GIST_SPLITVEC - pickSplit should check its values to use already defined spl_(l|r)datum for splitting. pickSplit should set spl_(l|r)datum_exists to 'false' (if they was 'true') to signal to caller about using spl_(l|r)datum. * support for old pickSplit(): not very optimal but correct split * remove 'bytes' field from GISTENTRY: in any case size of value is defined by it's type. * split GIST_SPLITVEC to two structures: one for using in picksplit and second - for internal use. * some code refactoring * support of subsplit to rtree opclasses TODO: add support of subsplit to contrib modules
2006-05-30Magic blocks don't do us any good unless we use 'em ... so install oneTom Lane
in every shared library.
2006-03-13Fix a number of syntax errors in contrib modules' uninstall scripts.Neil Conway
Most of the changes add the mandatory USING clause to DROP OPERATOR CLASS statements. DROP TYPE is now DROP TYPE CASCADE; without CASCADE a DROP TYPE fails due to the circular dependency on the type's I/O functions. The DROP FUNCTION statements for the I/O functions have been removed, as DROP TYPE CASCADE removes them automatically. Patch from Michael Fuhr.
2006-02-27Clean up CREATE FUNCTION syntax usage in contrib and elsewhere, inPeter Eisentraut
particular get rid of single quotes around language names and old WITH () construct.
2006-02-27contrib uninstall scriptsPeter Eisentraut
by David Fetter
2006-01-26Update btree_gist for CIDR/INET changes --- there's really no need toTom Lane
have a separate set of CIDR code here, either.
2005-10-15Standard pgindent run for 8.1.Bruce Momjian
2005-10-09Fix (hopefully for the last time) problems with datetime values displayingTom Lane
like '23:59:60' because of fractional-second roundoff problems. Trying to control this upstream of the actual display code was hopeless; the right way is to explicitly round fractional seconds in the display code and then refigure the results if the fraction rounds up to 1. Per bug #1927.
2005-09-27PGXS should be set with := not =, as specified in the documentation,Tom Lane
to avoid useless multiple executions of pg_config.
2005-07-21Fix storage size for btree_gist interval indexes. Fix penaltyTom Lane
calculations for interval and time/timetz to behave sanely for both integer and float timestamps; up to now I think it's been doing something pretty strange...
2005-07-20/contrib/btree_gist adjustments for new 'day' interval value.Bruce Momjian
2005-07-01Fixes from Janko Richter <jankorichter@yahoo.de>Teodor Sigaev
- Fix wrong index results on text, char, varchar for multibyte strings - Fix some SIGFPE signals - Add support for infinite timestamps - Because of locale settings, btree_gist can not be a prefix index anymore (for text). Each node holds now just the lower and upper boundary.
2005-06-29Clean up the rather historically encumbered interface to now() andTom Lane
current time: provide a GetCurrentTimestamp() function that returns current time in the form of a TimestampTz, instead of separate time_t and microseconds fields. This is what all the callers really want anyway, and it eliminates low-level dependencies on AbsoluteTime, which is a deprecated datatype that will have to disappear eventually.
2005-05-21Cleanup of GiST extensions in contrib/: now that we always invoke GiSTNeil Conway
methods in a short-lived memory context, there is no need for GiST methods to do their own manual (and error-prone) memory management.
2005-05-16Fix typo in comment.Neil Conway
2005-05-12This patch makes some minor style cleanups to contrib/btree_gist: removeNeil Conway
the "extern" keyword from function definitions, reorganize some PG_GETARG_XXX() usage, and similar.
2005-04-25Fix btree_gist to handle timetz zone correctly per recent changes.Tom Lane
2005-03-01Simplify/clean up code for varlena typesTeodor Sigaev
2005-02-25Fix float8->int64 transformationTeodor Sigaev
2005-02-21Simplify definesTeodor Sigaev
2005-02-21Fix memory leak for timestamp(with and w/o tz) and indexesTeodor Sigaev
2004-11-01Trivial fixes for English grammar in contrib/btree_gist and contrib/rtree_gistNeil Conway
documentation.
2004-08-30Another pgindent run with lib typedefs added.Bruce Momjian
2004-08-29Pgindent run for 8.0.Bruce Momjian
2004-08-21Whack btree_gist code around until it has some small hope of buildingTom Lane
on non-gcc compilers.
2004-08-20> Please find enclose a submission to fix these problems.Bruce Momjian
> > The patch adds missing the "libpgport.a" file to the installation under > "install-all-headers". It is needed by some contribs. I install the > library in "pkglibdir", but I was wondering whether it should be "libdir"? > I was wondering also whether it would make sense to have a "libpgport.so"? > > It fixes various macros which are used by contrib makefiles, especially > libpq_*dir and LDFLAGS when used under PGXS. It seems to me that they are > needed to > > It adds the ability to test and use PGXS with contribs, with "make > USE_PGXS=1". Without the macro, this is exactly as before, there should be > no difference, esp. wrt the vpath feature that seemed broken by previous > submission. So it should not harm anybody, and it is useful at least to me. > > It fixes some inconsistencies in various contrib makefiles > (useless override, ":=" instead of "="). Fabien COELHO
2004-06-03- Add aligment of variable data typesTeodor Sigaev
- Add aligment for interval data types - Avoid floating point overflow in penalty functions Janko Richter <jankorichter@yahoo.de> and teodor
2004-05-28New version. Add support for int2, int8, float4, float8, timestamp ↵Teodor Sigaev
with/without time zone, time with/without time zone, date, interval, oid, money and macaddr, char, varchar/text, bytea, numeric, bit, varbit, inet/cidr types for GiST
2004-03-30Cleanup vectors of GISTENTRY and eliminate problem with 64-bit strict-alignedTeodor Sigaev
boxes. Change interface to user-defined GiST support methods union and picksplit. Now instead of bytea struct it used special GistEntryVector structure.
2003-08-04pgindent run.Bruce Momjian
2003-08-01Update contrib regression tests for recent error message editing.Tom Lane
2003-07-27elog mop-up.Tom Lane
2003-07-24Error message editing in contrib (mostly by Joe Conway --- thanks Joe!)Tom Lane
2003-05-14Backend support for autocommit removed, per recent discussions. TheTom Lane
only remnant of this failed experiment is that the server will take SET AUTOCOMMIT TO ON. Still TODO: provide some client-side autocommit logic in libpq.
2003-03-28Regression output didn't get updated to match recent commit.Tom Lane
2003-03-20please apply attached patch to current CVS.Bruce Momjian
btree_gist now supports int2 ! Thanks Janko Richter for contribution.
2003-02-19We just released new version of contrib/btree_gistBruce Momjian
(7.3 and current CVS) with support of int8, float4, float8 in addition to int4. Thanks Janko Richter for contribution. Oleg Bartunov
2002-11-01Ooops, forgot to fix contrib regression tests for WARNING/NOTICE change.Tom Lane
2002-10-21SET autocommit no longer needed in /contrib because pg_regress.sh doesBruce Momjian
it automatically now on regression session startup.
2002-10-18Update /contrib for "autocommit TO 'on'".Bruce Momjian
Create objects in public schema. Make spacing/capitalization consistent. Remove transaction block use for object creation. Remove unneeded function GRANTs.
2002-09-04pgindent run.Bruce Momjian
2002-08-23Update contrib regression tests for OPAQUE datatype changes.Tom Lane
2002-08-22Add a bunch of pseudo-types to replace the behavior formerly associatedTom Lane
with OPAQUE, as per recent pghackers discussion. I still want to do some more work on the 'cstring' pseudo-type, but I'm going to commit the bulk of the changes now before the tree starts shifting under me ...
2002-07-30Replace ad-hoc insertions into pg_opclass and friends with CREATETom Lane
OPERATOR CLASS commands. Further tweaking of documentation for same.