1. 13 Jan, 2011 5 commits
    • Heikki Linnakangas's avatar
      Fix the logic in libpqrcv_receive() to determine if there's any incoming data · a5a02a74
      Heikki Linnakangas authored
      that can be read without blocking. It used to conclude that there isn't, even
      though there was data in the socket receive buffer. That lead walreceiver to
      flush the WAL after every received chunk, potentially causing big performance
      issues.
      
      Backpatch to 9.0, because the performance impact can be very significant.
      a5a02a74
    • Peter Eisentraut's avatar
      Workaround for recursive make breakage · c667cc24
      Peter Eisentraut authored
      Changing a file two directory levels deep under src/backend/ would not
      cause the postgres binary to be rebuilt.  This change fixes it, but no
      one knows why.
      c667cc24
    • Peter Eisentraut's avatar
      Don't run regression tests in SQL_ASCII encoding by default · 35eb0958
      Peter Eisentraut authored
      Instead, run them in the encoding that the locale selects, which is
      more representative of real use.
      
      Also document how locale and encoding for regression test runs can be
      selected.
      35eb0958
    • Bruce Momjian's avatar
      Apply libpq documentation patches submitted by Leslie S Satenstein and · a0423ec0
      Bruce Momjian authored
      reviewed by Robert Haas.
      a0423ec0
    • Tom Lane's avatar
      Fix PlanRowMark/ExecRowMark structures to handle inheritance correctly. · d487afbb
      Tom Lane authored
      In an inherited UPDATE/DELETE, each target table has its own subplan,
      because it might have a column set different from other targets.  This
      means that the resjunk columns we add to support EvalPlanQual might be
      at different physical column numbers in each subplan.  The EvalPlanQual
      rewrite I did for 9.0 failed to account for this, resulting in possible
      misbehavior or even crashes during concurrent updates to the same row,
      as seen in a recent report from Gordon Shannon.  Revise the data structure
      so that we track resjunk column numbers separately for each subplan.
      
      I also chose to move responsibility for identifying the physical column
      numbers back to executor startup, instead of assuming that numbers derived
      during preprocess_targetlist would stay valid throughout subsequent
      massaging of the plan.  That's a bit slower, so we might want to consider
      undoing it someday; but it would complicate the patch considerably and
      didn't seem justifiable in a bug fix that has to be back-patched to 9.0.
      d487afbb
  2. 12 Jan, 2011 3 commits
  3. 11 Jan, 2011 8 commits
  4. 10 Jan, 2011 4 commits
  5. 09 Jan, 2011 14 commits
  6. 08 Jan, 2011 6 commits