1. 23 4月, 2006 5 次提交
  2. 22 4月, 2006 7 次提交
  3. 21 4月, 2006 1 次提交
    • T
      Eliminate some no-longer-needed workarounds for palloc's old behavior · efe22226
      Tom Lane 提交于
      of rejecting palloc(0).  Also, tweak like_selectivity() to avoid assuming
      the presented pattern is nonempty; although that assumption is valid,
      it doesn't really help much, and the new coding is more correct anyway
      since it properly handles redundant wildcards.  In combination these
      changes should eliminate a Coverity warning noted by Martijn.
      efe22226
  4. 20 4月, 2006 9 次提交
  5. 19 4月, 2006 3 次提交
  6. 18 4月, 2006 3 次提交
  7. 17 4月, 2006 1 次提交
    • B
      Done: · 8e7aaeb6
      Bruce Momjian 提交于
      < 	o Update pg_dump and psql to use the new COPY libpq API (Christopher)
      > 	o -Update pg_dump and psql to use the new COPY libpq API (Christopher)
      8e7aaeb6
  8. 16 4月, 2006 3 次提交
    • B
      Remove: · 922f7536
      Bruce Momjian 提交于
      < 	o %Have pg_dump use multi-statement transactions for INSERT dumps
      922f7536
    • B
      Document that pg_dump -d/-D prevents invalid data from canceling the · 598dfee5
      Bruce Momjian 提交于
      entire table load.
      598dfee5
    • T
      Support the syntax · 3651a3e6
      Tom Lane 提交于
      	CREATE AGGREGATE aggname (input_type) (parameter_list)
      along with the old syntax where the input type was named in the parameter
      list.  This fits more naturally with the way that the aggregate is identified
      in DROP AGGREGATE and other utility commands; furthermore it has a natural
      extension to handle multiple-input aggregates, where the basetype-parameter
      method would get ugly.  In fact, this commit fixes the grammar and all the
      utility commands to support multiple-input aggregates; but DefineAggregate
      rejects it because the executor isn't fixed yet.
      I didn't do anything about treating agg(*) as a zero-input aggregate instead
      of artificially making it a one-input aggregate, but that should be considered
      in combination with supporting multi-input aggregates.
      3651a3e6
  9. 15 4月, 2006 2 次提交
    • B
      Done: · ebd5257d
      Bruce Momjian 提交于
      > * -Re-enable the GUC full_page_writes in 8.2 when reliability issues have
      ebd5257d
    • T
      Make the world safe for full_page_writes. Allow XLOG records that try to · defe9346
      Tom Lane 提交于
      update no-longer-existing pages to fall through as no-ops, but make a note
      of each page number referenced by such records.  If we don't see a later
      XLOG entry dropping the table or truncating away the page, complain at
      the end of XLOG replay.  Since this fixes the known failure mode for
      full_page_writes = off, revert my previous band-aid patch that disabled
      that GUC variable.
      defe9346
  10. 14 4月, 2006 2 次提交
    • T
      Repair a low-probability race condition identified by Qingqing Zhou. · 0fcc3c2f
      Tom Lane 提交于
      If a process abandons a wait in LockBufferForCleanup (in practice,
      only happens if someone cancels a VACUUM) just before someone else
      sends it a signal indicating the buffer is available, it was possible
      for the wakeup to remain in the process' semaphore, causing misbehavior
      next time the process waited for an lmgr lock.  Rather than try to
      prevent the race condition directly, it seems best to make the lock
      manager robust against leftover wakeups, by having it repeat waiting
      on the semaphore if the lock has not actually been granted or denied
      yet.
      0fcc3c2f
    • T
      Fix similar_escape() so that SIMILAR TO works properly for patterns involving · cc39aca7
      Tom Lane 提交于
      alternatives ("|" symbol).  The original coding allowed the added ^ and $
      constraints to be absorbed into the first and last alternatives, producing
      a pattern that would match more than it should.  Per report from Eric Noriega.
      
      I also changed the pattern to add an ARE director ("***:"), ensuring that
      SIMILAR TO patterns do not change behavior if regex_flavor is changed.  This
      is necessary to make the non-capturing parentheses work, and seems like a
      good idea on general principles.
      
      Back-patched as far as 7.4.  7.3 also has the bug, but a fix seems impractical
      because that version's regex engine doesn't have non-capturing parens.
      cc39aca7
  11. 13 4月, 2006 4 次提交