Skip to content
Snippets Groups Projects
  1. Jan 02, 2012
  2. Sep 11, 2011
    • Peter Eisentraut's avatar
      Remove many -Wcast-qual warnings · 1b81c2fe
      Peter Eisentraut authored
      This addresses only those cases that are easy to fix by adding or
      moving a const qualifier or removing an unnecessary cast.  There are
      many more complicated cases remaining.
      1b81c2fe
  3. Sep 01, 2011
  4. Jan 01, 2011
  5. Sep 20, 2010
  6. Jan 02, 2010
  7. Jun 11, 2009
  8. Jan 01, 2009
  9. Apr 21, 2008
    • Tom Lane's avatar
      Allow float8, int8, and related datatypes to be passed by value on machines · 8472bf7a
      Tom Lane authored
      where Datum is 8 bytes wide.  Since this will break old-style C functions
      (those still using version 0 calling convention) that have arguments or
      results of these types, provide a configure option to disable it and retain
      the old pass-by-reference behavior.  Likewise, provide a configure option
      to disable the recently-committed float4 pass-by-value change.
      
      Zoltan Boszormenyi, plus configurability stuff by me.
      8472bf7a
  10. Apr 20, 2008
    • Teodor Sigaev's avatar
      Fix broken compare function for tsquery_ops. Per Tom's report. · be939544
      Teodor Sigaev authored
      I never understood why initial authors GiST in pgsql choose so
      stgrange signature for 'same' method:
      bool *sameFn(Datum a, Datum b, bool* result)
      instead of simple, logical
      bool sameFn(Datum a, Datum b)
      This change will break any existing GiST extension, so we still live with
      it and will live.
      be939544
  11. Apr 14, 2008
    • Tom Lane's avatar
      Push index operator lossiness determination down to GIST/GIN opclass · 9b5c8d45
      Tom Lane authored
      "consistent" functions, and remove pg_amop.opreqcheck, as per recent
      discussion.  The main immediate benefit of this is that we no longer need
      8.3's ugly hack of requiring @@@ rather than @@ to test weight-using tsquery
      searches on GIN indexes.  In future it should be possible to optimize some
      other queries better than is done now, by detecting at runtime whether the
      index match is exact or not.
      
      Tom Lane, after an idea of Heikki's, and with some help from Teodor.
      9b5c8d45
  12. Jan 01, 2008
  13. Nov 15, 2007
  14. Aug 21, 2007
  15. Oct 04, 2006
  16. Sep 10, 2006
  17. Jul 11, 2006
  18. Jun 28, 2006
    • Teodor Sigaev's avatar
      Changes · 1f7ef548
      Teodor Sigaev authored
      * 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
      1f7ef548
  19. Mar 01, 2006
    • Neil Conway's avatar
      This patch makes the error message strings throughout the backend · 8e5a10d4
      Neil Conway authored
      more compliant with the error message style guide. In particular,
      errdetail should begin with a capital letter and end with a period,
      whereas errmsg should not. I also fixed a few related issues in
      passing, such as fixing the repeated misspelling of "lexeme" in
      contrib/tsearch2 (per Tom's suggestion).
      8e5a10d4
  20. Jan 23, 2006
  21. Nov 22, 2005
  22. Nov 14, 2005
  23. Nov 08, 2005
    • Teodor Sigaev's avatar
      New features for tsearch2: · 0645663e
      Teodor Sigaev authored
      1 Comparison operation for tsquery
      2 Btree index on tsquery
      3 numnode(tsquery) - returns 'length' of tsquery
      4 tsquery @ tsquery, tsquery ~ tsquery - contains, contained for tsquery.
        Note: They don't gurantee exact result, only MAY BE, so it
        useful only for speed up rewrite functions
      5 GiST index support for @,~
      6 rewrite():
              select rewrite(orig, what, to);
              select rewrite(ARRAY[orig, what, to]) from tsquery_table;
              select rewrite(orig, 'select what, to from tsquery_table;');
      7 significantly improve cover algorithm
      0645663e
Loading