1. 30 3月, 2006 2 次提交
  2. 29 3月, 2006 3 次提交
  3. 25 3月, 2006 1 次提交
    • T
      Comments in IndexBuildHeapScan describe the indexing of recently-dead · 4e7d10c7
      Tom Lane 提交于
      tuples as needed "to keep VACUUM from complaining", but actually there is
      a more compelling reason to do it: failure to do so violates MVCC semantics.
      This is because a pre-existing serializable transaction might try to use
      the index after we finish (re)building it, and it might fail to find tuples
      it should be able to see.  We got this mostly right, but not in the case
      of partial indexes: the code mistakenly discarded recently-dead tuples for
      partial indexes.  Fix that, and adjust the comments.
      4e7d10c7
  4. 24 3月, 2006 1 次提交
    • T
      Arrange to emit a description of the current XLOG record as error context · 0a202070
      Tom Lane 提交于
      when an error occurs during xlog replay.  Also, replace the former risky
      'write into a fixed-size buffer with no overflow detection' API for XLOG
      record description routines; use an expansible StringInfo instead.  (The
      latter accounts for most of the patch bulk.)
      
      Qingqing Zhou
      0a202070
  5. 23 3月, 2006 2 次提交
  6. 22 3月, 2006 3 次提交
  7. 21 3月, 2006 1 次提交
  8. 20 3月, 2006 2 次提交
  9. 19 3月, 2006 2 次提交
  10. 18 3月, 2006 2 次提交
    • T
      Fix bug introduced into mergejoin logic by performance improvement patch of · b3358e26
      Tom Lane 提交于
      2005-05-13.  When we find that a new inner tuple can't possibly match any
      outer tuple (because it contains a NULL), we can't immediately skip the
      tuple when we are in NEXTINNER state.  Doing so can lead to emitting
      multiple copies of the tuple in FillInner mode, because we may rescan the
      tuple after returning to a previous marked tuple.  Instead, proceed to
      NEXTOUTER state the same as we used to do.  After we've found that there's
      no need to return to the marked position, we can go to SKIPINNER_ADVANCE
      state instead of SKIP_TEST when the inner tuple is unmatchable; this
      preserves the performance improvement.  Per bug report from Bruce.
      I also made a couple of cosmetic code rearrangements and added a regression
      test for the problem.
      b3358e26
    • P
      Document long names for format options (plain, tar, custom). They already · 5094f998
      Peter Eisentraut 提交于
      worked and someone asked about them, so we might as well document them.
      5094f998
  11. 17 3月, 2006 2 次提交
  12. 16 3月, 2006 1 次提交
    • T
      Clean up representation of function RTEs for functions returning RECORD. · 23160139
      Tom Lane 提交于
      The original coding stored the raw parser output (ColumnDef and TypeName
      nodes) which was ugly, bulky, and wrong because it failed to create any
      dependency on the referenced datatype --- and in fact would not track type
      renamings and suchlike.  Instead store a list of column type OIDs in the
      RTE.
      
      Also fix up general failure of recordDependencyOnExpr to do anything sane
      about recording dependencies on datatypes.  While there are many cases where
      there will be an indirect dependency (eg if an operator returns a datatype,
      the dependency on the operator is enough), we do have to record the datatype
      as a separate dependency in examples like CoerceToDomain.
      
      initdb forced because of change of stored rules.
      23160139
  13. 15 3月, 2006 4 次提交
  14. 14 3月, 2006 1 次提交
    • N
      Fix a number of syntax errors in contrib modules' uninstall scripts. · 48fb6967
      Neil Conway 提交于
      Most of the changes add the mandatory USING clause to DROP OPERATOR
      CLASS statements.  DROP TYPE is now DROP TYPE CASCADE; without
      CASCADE a DROP TYPE fails due to the circular dependency on the
      type's I/O functions.  The DROP FUNCTION statements for the I/O
      functions have been removed, as DROP TYPE CASCADE removes them
      automatically. Patch from Michael Fuhr.
      48fb6967
  15. 12 3月, 2006 2 次提交
  16. 11 3月, 2006 7 次提交
  17. 10 3月, 2006 3 次提交
  18. 09 3月, 2006 1 次提交