Skip to content
Snippets Groups Projects
  1. May 13, 2010
  2. May 12, 2010
  3. May 11, 2010
  4. May 10, 2010
    • 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. May 09, 2010
  6. May 08, 2010
    • 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. May 07, 2010
  8. May 06, 2010
  9. May 05, 2010
  10. May 03, 2010
Loading