Skip to content
Snippets Groups Projects
  1. Feb 01, 2011
  2. Jan 31, 2011
  3. Jan 30, 2011
    • Tom Lane's avatar
      Make reduce_outer_joins() smarter about semijoins. · 9688c4e6
      Tom Lane authored
      reduce_outer_joins() mistakenly treated a semijoin like a left join for
      purposes of deciding whether not-null constraints created by the join's
      quals could be passed down into the join's left-hand side (possibly
      resulting in outer-join simplification there).  Actually, semijoin works
      like inner join for this purpose, ie, we do not need to see any rows that
      can't possibly satisfy the quals.  Hence, two-line fix to treat semi and
      inner joins alike.  Per observation by Andres Freund about a performance
      gripe from Yazan Suleiman.
      
      Back-patch to 8.4, since this oversight has been there since the current
      handling of semijoins was implemented.
      9688c4e6
    • Magnus Hagander's avatar
      Add option to include WAL in base backup · 507069de
      Magnus Hagander authored
      When included, this makes the base backup a complete working
      "clone" of the initial database, ready to have a postmaster
      started against it without the need to set up any log archiving
      or similar.
      
      Magnus Hagander, reviewed by Fujii Masao and Heikki Linnakangas
      507069de
  4. Jan 29, 2011
  5. Jan 28, 2011
    • Tom Lane's avatar
      Copy-edit a paragraph in the contrib/seg documentation. · b2826ad5
      Tom Lane authored
      Although this improves the style, an ulterior motive is to keep the two
      table links from breaking across lines in PDF output, per complaint from
      Josh Kupershmidt.
      b2826ad5
    • Tom Lane's avatar
      Rephrase pg_conversion description to avoid splitting link across page. · 20a0f972
      Tom Lane authored
      The link to the CREATE CONVERSION manual page was split across a page
      boundary in the PDF output, leading to "\pdfendlink ended up in different
      nesting level than \pdfstartlink" error while building PDFs.
      
      It wouldn't be worth changing text that's undergoing active editing to
      avoid this, since other editing might result in moving the link away from
      the page end anyway.  But this paragraph has been static for a long time,
      so might as well fix it to prevent it from being an issue in future.
      20a0f972
  6. Jan 27, 2011
  7. Jan 26, 2011
    • Peter Eisentraut's avatar
      Improve exception usage in PL/Python · 582b5ac6
      Peter Eisentraut authored
      Use the built-in TypeError, not SPIError, for errors having to do with
      argument counts or types.  Use SPIError, not simply plpy.Error, for
      errors in PLy_spi_execute_plan.  Finally, do not set a Python
      exception if PyArg_ParseTuple failed, as it already sets the correct
      exception.
      
      Jan Urbański
      582b5ac6
    • Peter Eisentraut's avatar
      Also save the error detail in SPIError · 418df3a5
      Peter Eisentraut authored
      The temporarily broken plpython_unicode test shows a case where this
      is used.
      
      Do remaining fix-ups on the expected files at the same time.
      418df3a5
    • Peter Eisentraut's avatar
      Fix compiler warnings · ddf8c168
      Peter Eisentraut authored
      Older versions of GCC appear to report these with the current standard
      option set, newer versions need -Wformat-security.
      ddf8c168
Loading