1. 05 Jul, 2010 1 commit
    • Heikki Linnakangas's avatar
      The previous fix in CVS HEAD and 8.4 for handling the case where a cursor · eb81b650
      Heikki Linnakangas authored
      being used in a PL/pgSQL FOR loop is closed was inadequate, as Tom Lane
      pointed out. The bug affects FOR statement variants too, because you can
      close an implicitly created cursor too by guessing the "<unnamed portal X>"
      name created for it.
      
      To fix that, "pin" the portal to prevent it from being dropped while it's
      being used in a PL/pgSQL FOR loop. Backpatch all the way to 7.4 which is
      the oldest supported version.
      eb81b650
  2. 04 Jul, 2010 2 commits
  3. 03 Jul, 2010 11 commits
  4. 02 Jul, 2010 4 commits
  5. 01 Jul, 2010 5 commits
  6. 30 Jun, 2010 3 commits
  7. 29 Jun, 2010 7 commits
  8. 28 Jun, 2010 6 commits
  9. 27 Jun, 2010 1 commit
    • Tom Lane's avatar
      Fix pg_restore so parallel restore doesn't fail when the input file doesn't · b779ea8a
      Tom Lane authored
      contain data offsets (which it won't, if pg_dump thought its output wasn't
      seekable).  To do that, remove an unnecessarily aggressive error check, and
      instead fail if we get to the end of the archive without finding the desired
      data item.  Also improve the error message to be more specific about the
      cause of the problem.  Per discussion of recent report from Igor Neyman.
      
      Back-patch to 8.4 where parallel restore was introduced.
      b779ea8a