1. 13 May, 2010 4 commits
  2. 12 May, 2010 13 commits
  3. 11 May, 2010 7 commits
  4. 10 May, 2010 1 commit
    • Tom Lane's avatar
      When adding a "target IS NOT NULL" indexqual to the plan for an index-optimized · ed83f6e3
      Tom Lane authored
      MIN or MAX, we must take care to insert the added qual in a legal place among
      the existing indexquals, if any.  The btree index AM requires the quals to
      appear in index-column order.  We didn't have to worry about this before
      because "target IS NOT NULL" was just treated as a plain scan filter condition;
      but as of 9.0 it can be an index qual and then it has to follow the rule.
      Per report from Ian Barwick.
      ed83f6e3
  5. 09 May, 2010 4 commits
  6. 08 May, 2010 1 commit
    • Tom Lane's avatar
      Work around a subtle portability problem in use of printf %s format. · 54cd4f04
      Tom Lane authored
      Depending on which spec you read, field widths and precisions in %s may be
      counted either in bytes or characters.  Our code was assuming bytes, which
      is wrong at least for glibc's implementation, and in any case libc might
      have a different idea of the prevailing encoding than we do.  Hence, for
      portable results we must avoid using anything more complex than just "%s"
      unless the string to be printed is known to be all-ASCII.
      
      This patch fixes the cases I could find, including the psql formatting
      failure reported by Hernan Gonzalez.  In HEAD only, I also added comments
      to some places where it appears safe to continue using "%.*s".
      54cd4f04
  7. 07 May, 2010 1 commit
  8. 06 May, 2010 2 commits
  9. 05 May, 2010 2 commits
  10. 03 May, 2010 5 commits