1. 01 Feb, 2014 1 commit
  2. 31 Jan, 2014 14 commits
  3. 30 Jan, 2014 8 commits
    • Tom Lane's avatar
      Fix potential coredump on bad locale value in pg_upgrade. · 41e364ec
      Tom Lane authored
      Thinko in error report (and a typo in the message text, too).  We're
      failing anyway, but it would be good to print something useful first.
      Noted while reviewing a patch to make pg_upgrade's locale code laxer.
      41e364ec
    • Robert Haas's avatar
      Add convenience functions pg_sleep_for and pg_sleep_until. · 760c770f
      Robert Haas authored
      Vik Fearing, reviewed by Pavel Stehule and myself
      760c770f
    • Tom Lane's avatar
      Fix bogus handling of "postponed" lateral quals. · 043f6ff0
      Tom Lane authored
      When pulling a "postponed" qual from a LATERAL subquery up into the quals
      of an outer join, we must make sure that the postponed qual is included
      in those seen by make_outerjoininfo().  Otherwise we might compute a
      too-small min_lefthand or min_righthand for the outer join, leading to
      "JOIN qualification cannot refer to other relations" failures from
      distribute_qual_to_rels.  Subtler errors in the created plan seem possible,
      too, if the extra qual would only affect join ordering constraints.
      
      Per bug #9041 from David Leverton.  Back-patch to 9.3.
      043f6ff0
    • Bruce Momjian's avatar
    • Bruce Momjian's avatar
    • Bruce Momjian's avatar
      docs: add mention of index swapping · b1cbd2b5
      Bruce Momjian authored
      Backpatch to 9.3
      
      Greg Smith
      b1cbd2b5
    • Bruce Momjian's avatar
      Add checks for interval overflow/underflow · 146604ec
      Bruce Momjian authored
      New checks include input, month/day/time internal adjustments, addition,
      subtraction, multiplication, and negation.  Also adjust docs to
      correctly specify interval size in bytes.
      
      Report from Rok Kralj
      146604ec
    • Tom Lane's avatar
      Fix unsafe references to errno within error messaging logic. · 571addd7
      Tom Lane authored
      Various places were supposing that errno could be expected to hold still
      within an ereport() nest or similar contexts.  This isn't true necessarily,
      though in some cases it accidentally failed to fail depending on how the
      compiler chanced to order the subexpressions.  This class of thinko
      explains recent reports of odd failures on clang-built versions, typically
      missing or inappropriate HINT fields in messages.
      
      Problem identified by Christian Kruse, who also submitted the patch this
      commit is based on.  (I fixed a few issues in his patch and found a couple
      of additional places with the same disease.)
      
      Back-patch as appropriate to all supported branches.
      571addd7
  4. 29 Jan, 2014 15 commits
  5. 28 Jan, 2014 2 commits