1. 26 Dec, 2005 2 commits
    • Bruce Momjian's avatar
      Add: · 5c9a46f6
      Bruce Momjian authored
      * %Make row-wise comparisons work per SQL spec
      
        Right now, '(a, b) < (1, 2)' is processed as 'a < 1 and b < 2', but
        the SQL standard requires it to be processed as a column-by-column
        comparison, so the proper comparison is '(a < 1) OR (a = 1 AND b < 2)'.
      5c9a46f6
    • Neil Conway's avatar
      Various cosmetic code cleanup for PL/Python: · 97e1535f
      Neil Conway authored
      - use "bool" rather than "int" for boolean variables
      
      - use "PLy_malloc" rather than "malloc" in two places
      
      - define "PLy_strdup", and use it rather than malloc() + strcpy() in
        two places (which should have been memcpy(), anyway).
      
      - remove a bunch of redundant parentheses from expressions that do not
        need the parentheses for code clarity
      97e1535f
  2. 25 Dec, 2005 2 commits
  3. 24 Dec, 2005 8 commits
  4. 23 Dec, 2005 7 commits
  5. 22 Dec, 2005 3 commits
    • Bruce Momjian's avatar
      Update item: · 2f1a78e2
      Bruce Momjian authored
      >
      >   A more complex solution would be to save multiple plans for different
      >   cardinality and use the appropriate plan based on the EXECUTE values.
      >
      2f1a78e2
    • Tom Lane's avatar
      Adjust string comparison so that only bitwise-equal strings are considered · 656beff5
      Tom Lane authored
      equal: if strcoll claims two strings are equal, check it with strcmp, and
      sort according to strcmp if not identical.  This fixes inconsistent
      behavior under glibc's hu_HU locale, and probably under some other locales
      as well.  Also, take advantage of the now-well-defined behavior to speed up
      texteq, textne, bpchareq, bpcharne: they may as well just do a bitwise
      comparison and not bother with strcoll at all.
      
      NOTE: affected databases may need to REINDEX indexes on text columns to be
      sure they are self-consistent.
      656beff5
    • Bruce Momjian's avatar
  6. 21 Dec, 2005 3 commits
  7. 20 Dec, 2005 2 commits
  8. 18 Dec, 2005 1 commit
  9. 17 Dec, 2005 12 commits
    • Bruce Momjian's avatar
      Fix typo. · ea771743
      Bruce Momjian authored
      ea771743
    • Bruce Momjian's avatar
      Update s_lock.c comments. · 8d26730a
      Bruce Momjian authored
      8d26730a
    • Bruce Momjian's avatar
      Update ASM comments. · 70cab220
      Bruce Momjian authored
      70cab220
    • Bruce Momjian's avatar
      Remove item: · 25af534e
      Bruce Momjian authored
      < * Allow star join optimizations
      <
      <   While our bitmap scan allows multiple indexes to be joined to get
      <   to heap rows, a star joins allows multiple dimension _tables_ to
      <   be joined to index into a larger main fact table.  The join is
      <   usually performed by either creating a cartesian product of all
      <   the dimmension tables and doing a single join on that product or
      <   using subselects to create bitmaps of each dimmension table match
      <   and merge the bitmaps to perform the join on the fact table.  Some
      <   of these algorithms might be patented.
      25af534e
    • Bruce Momjian's avatar
      Update: · 3282b633
      Bruce Momjian authored
      < * Flush cached query plans when the dependent objects change or
      <   when the cardinality of parameters changes dramatically
      > * Flush cached query plans when the dependent objects change,
      >   when the cardinality of parameters changes dramatically, or
      >   when new ANALYZE statistics are available
      3282b633
    • Bruce Momjian's avatar
      Add mention of possible patent problems with star joins, per Joshua · 16843ba3
      Bruce Momjian authored
      Drake:
      
      <   and merge the bitmaps to perform the join on the fact table.
      >   and merge the bitmaps to perform the join on the fact table.  Some
      >   of these algorithms might be patented.
      16843ba3
    • Bruce Momjian's avatar
      Add: · 9e9a844f
      Bruce Momjian authored
      * Allow star join optimizations
      
        While our bitmap scan allows multiple indexes to be joined to get
        to heap rows, a star joins allows multiple dimension _tables_ to
        be joined to index into a larger main fact table.  The join is
        usually performed by either creating a cartesian product of all
        the dimmension tables and doing a single join on that product or
        using subselects to create bitmaps of each dimmension table match
        and merge the bitmaps to perform the join on the fact table.
      9e9a844f
    • Bruce Momjian's avatar
      Add more function to TODO: · 927f5768
      Bruce Momjian authored
      < * %Add pg_get_acldef(), pg_get_typedefault(), and pg_get_attrdef()
      > * %Add pg_get_acldef(), pg_get_typedefault(), pg_get_attrdef(),
      >   pg_get_tabledef(), pg_get_domaindef(), pg_get_functiondef()
      927f5768
    • Bruce Momjian's avatar
      Update: · eae75beb
      Bruce Momjian authored
      < * Flush cached query plans when the dependent objects change
      > * Flush cached query plans when the dependent objects change or
      >   when the cardinality of parameters changes dramatically
      eae75beb
    • Bruce Momjian's avatar
      Update FAQ, second version. · 91e9e74f
      Bruce Momjian authored
      J.Kuwamura
      91e9e74f
    • Bruce Momjian's avatar
      Update Japanese FAQ. · 2475a5d8
      Bruce Momjian authored
      J.Kuwamura
      2475a5d8
    • Bruce Momjian's avatar
      Add: · 56ea9ad1
      Bruce Momjian authored
      > * Allow the count returned by SELECT, etc to be to represent as an int64
      >   to allow a higher range of values
      56ea9ad1