Skip to content
Snippets Groups Projects
  1. Jun 11, 2009
  2. Jan 01, 2009
  3. 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
  4. 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
  5. 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
  6. Jan 01, 2008
  7. Nov 15, 2007
  8. Aug 21, 2007
  9. Oct 04, 2006
  10. Sep 10, 2006
  11. Jul 11, 2006
  12. 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
  13. 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
  14. Jan 23, 2006
  15. Nov 22, 2005
  16. Nov 14, 2005
  17. 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