1. 06 10月, 2001 1 次提交
    • T
      Further cleanup of dynahash.c API, in pursuit of portability and · 8a52b893
      Tom Lane 提交于
      readability.  Bizarre '(long *) TRUE' return convention is gone,
      in favor of just raising an error internally in dynahash.c when
      we detect hashtable corruption.  HashTableWalk is gone, in favor
      of using hash_seq_search directly, since it had no hope of working
      with non-LONGALIGNable datatypes.  Simplify some other code that was
      made undesirably grotty by promixity to HashTableWalk.
      8a52b893
  2. 02 10月, 2001 1 次提交
  3. 01 10月, 2001 1 次提交
    • T
      Another round of cleanups for dynahash.c (maybe it's finally clean of · 5999e78f
      Tom Lane 提交于
      portability issues).  Caller-visible data structures are now allocated
      on MAXALIGN boundaries, allowing safe use of datatypes wider than 'long'.
      Rejigger hash_create API so that caller specifies size of key and
      total size of entry, not size of key and size of rest of entry.
      This simplifies life considerably since each number is just a sizeof(),
      and padding issues etc. are taken care of automatically.
      5999e78f
  4. 24 8月, 2001 1 次提交
  5. 05 8月, 2001 1 次提交
    • T
      Endeavor to make pgstats buffer process (a) safe and (b) useful. · e8f10973
      Tom Lane 提交于
      Make sure it exits immediately when collector process dies --- in old code,
      buffer process would hang around and compete with the new buffer process
      for packets.  Make sure it doesn't block on writing the pipe when the
      collector falls more than a pipeload behind.  Avoid leaking pgstats FDs
      into every backend.
      e8f10973
  6. 04 8月, 2001 1 次提交
    • T
      Fix handling of SIGCHLD, per recent pghackers discussion: on some · dad8e410
      Tom Lane 提交于
      platforms system(2) gets confused unless the signal handler is set to
      SIG_DFL, not SIG_IGN.  pgstats.c now uses pqsignal() as it should,
      not signal().  Also, arrange for the stats collector process to show
      a reasonable ID in 'ps', rather than looking like a postmaster.
      dad8e410
  7. 05 7月, 2001 1 次提交
  8. 01 7月, 2001 1 次提交
  9. 30 6月, 2001 1 次提交
  10. 23 6月, 2001 1 次提交