1. 14 Nov, 2011 3 commits
  2. 13 Nov, 2011 2 commits
  3. 12 Nov, 2011 4 commits
  4. 10 Nov, 2011 7 commits
  5. 09 Nov, 2011 8 commits
    • Peter Eisentraut's avatar
    • Heikki Linnakangas's avatar
      Fix bugs in the COPY heap-insert batching patch. · f81648cb
      Heikki Linnakangas authored
      Forgot to call RestoreBkpBlocks() in the redo-function, as pointed out by
      Simon Riggs. In redo of a regular heap insert, it's taken care of in
      heap_redo(), but this new record type uses the heap2 RM, and heap2_redo()
      does not take care of that for you.
      
      Also, failed to reset the vmbuffer and all_visibile_cleared local variables
      after switching to a new buffer.
      f81648cb
    • Peter Eisentraut's avatar
      Clean gettext-files file in clean target · 3ad2c8e1
      Peter Eisentraut authored
      It used to be cleaned in maintainer-clean, but that is inconsistent
      with other cleaning of NLS files in nls-global.mk, and it's also wrong
      overall, because it's not part of the distribution tarball, which is
      the base definition of the maintainer-clean target.
      3ad2c8e1
    • Robert Haas's avatar
      Fix compiler warning. · 452d1d19
      Robert Haas authored
      452d1d19
    • Heikki Linnakangas's avatar
      In COPY, insert tuples to the heap in batches. · d326d9e8
      Heikki Linnakangas authored
      This greatly reduces the WAL volume, especially when the table is narrow.
      The overhead of locking the heap page is also reduced. Reduced WAL traffic
      also makes it scale a lot better, if you run multiple COPY processes at
      the same time.
      d326d9e8
    • Tom Lane's avatar
      Tweak new regression test case for more portability. · 2c30f961
      Tom Lane authored
      Ensure that same index gets selected on 32-bit and 64-bit machines.
      Per buildfarm results.
      2c30f961
    • Tom Lane's avatar
      Fix random discrepancies between parallel_schedule and serial_schedule. · 6d295b64
      Tom Lane authored
      In particular, my previous patch expected the create_index test to run
      before the inherit test; but this was only true in the serial schedule.
      Rearrange this portion of the schedules to be more consistent.
      
      Per buildfarm results.
      6d295b64
    • Tom Lane's avatar
      Wrap appendrel member outputs in PlaceHolderVars in additional cases. · 57664ed2
      Tom Lane authored
      Add PlaceHolderVar wrappers as needed to make UNION ALL sub-select output
      expressions appear non-constant and distinct from each other.  This makes
      the world safe for add_child_rel_equivalences to do what it does.  Before,
      it was possible for that function to add identical expressions to different
      EquivalenceClasses, which logically should imply merging such ECs, which
      would be wrong; or to improperly add a constant to an EquivalenceClass,
      drastically changing its behavior.  Per report from Teodor Sigaev.
      
      The only currently known consequence of this bug is "MergeAppend child's
      targetlist doesn't match MergeAppend" planner failures in 9.1 and later.
      I am suspicious that there may be other failure modes that could affect
      older release branches; but in the absence of any hard evidence, I'll
      refrain from back-patching further than 9.1.
      57664ed2
  6. 08 Nov, 2011 7 commits
  7. 07 Nov, 2011 4 commits
  8. 06 Nov, 2011 2 commits
  9. 05 Nov, 2011 3 commits