1. 11 12月, 2001 1 次提交
  2. 11 11月, 2001 1 次提交
  3. 09 11月, 2001 1 次提交
  4. 08 11月, 2001 1 次提交
  5. 06 11月, 2001 2 次提交
  6. 05 11月, 2001 2 次提交
    • T
      Remove ill-considered Assert. · d556920a
      Tom Lane 提交于
      d556920a
    • T
      Merge three existing ways of signaling postmaster from child processes, · fb5f1b2c
      Tom Lane 提交于
      so that only one signal number is used not three.  Flags in shared
      memory tell the reason(s) for the current signal.  This method is
      extensible to handle more signal reasons without chewing up even more
      signal numbers, but the immediate reason is to keep pg_pwd reloads
      separate from SIGHUP processing in the postmaster.
      Also clean up some problems in the postmaster with delayed response to
      checkpoint status changes --- basically, it wouldn't schedule a checkpoint
      if it wasn't getting connection requests on a regular basis.
      fb5f1b2c
  7. 30 10月, 2001 1 次提交
  8. 28 10月, 2001 1 次提交
  9. 25 10月, 2001 1 次提交
  10. 23 10月, 2001 1 次提交
  11. 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
  12. 02 10月, 2001 3 次提交
  13. 01 10月, 2001 2 次提交
    • 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
    • T
      Create a GUC parameter max_files_per_process that is a configurable · f9f25828
      Tom Lane 提交于
      upper limit on what we will believe from sysconf(_SC_OPEN_MAX).  The
      default value is 1000, so that under ordinary conditions it won't
      affect the behavior.  But on platforms where the kernel promises far
      more than it can deliver, this can be used to prevent running out of
      file descriptors.  See numerous past discussions, eg, pgsql-hackers
      around 23-Dec-2000.
      f9f25828
  14. 30 9月, 2001 2 次提交
  15. 29 9月, 2001 2 次提交
  16. 28 9月, 2001 2 次提交
  17. 22 9月, 2001 1 次提交
    • T
      Add an overall timeout on the client authentication cycle, so that · 35b7601b
      Tom Lane 提交于
      a hung client or lost connection can't indefinitely block a postmaster
      child (not to mention the possibility of deliberate DoS attacks).
      Timeout is controlled by new authentication_timeout GUC variable,
      which I set to 60 seconds by default ... does that seem reasonable?
      35b7601b
  18. 07 9月, 2001 1 次提交
  19. 05 9月, 2001 1 次提交
    • T
      Fix code so that we recover cleanly if there are no free semaphores · 76355439
      Tom Lane 提交于
      available in freeSemMap.  As noted by Tatsuo, this is now a likely
      scenario for detecting MaxBackends-exceeded; if MaxBackends is a multiple
      of PROC_NSEMS_PER_SET then we will fail here and not in sinval.c.  The
      cleanup path did not work correctly before, anyway.
      76355439
  20. 04 9月, 2001 2 次提交
  21. 30 8月, 2001 1 次提交
  22. 29 8月, 2001 1 次提交
  23. 28 8月, 2001 1 次提交
  24. 27 8月, 2001 1 次提交
  25. 26 8月, 2001 1 次提交
    • T
      Replace implementation of pg_log as a relation accessed through the · 2589735d
      Tom Lane 提交于
      buffer manager with 'pg_clog', a specialized access method modeled
      on pg_xlog.  This simplifies startup (don't need to play games to
      open pg_log; among other things, OverrideTransactionSystem goes away),
      should improve performance a little, and opens the door to recycling
      commit log space by removing no-longer-needed segments of the commit
      log.  Actual recycling is not there yet, but I felt I should commit
      this part separately since it'd still be useful if we chose not to
      do transaction ID wraparound.
      2589735d
  26. 24 8月, 2001 2 次提交
  27. 11 8月, 2001 1 次提交
  28. 05 8月, 2001 1 次提交
    • B
      This patch is because Hurd does not support NOFILE. It is against current · 3e518682
      Bruce Momjian 提交于
      cvs.
      
      The Debian bug report says, "The upstream source makes use of NOFILE
      unconditionalized.  As the Hurd doesn't have an arbitrary limit on the
      number of open files, this is not defined.  But _SC_OPEN_MAX works fine
      and returns 1024 (applications can increase this as they want), so I
      suggest the below diff.  Please forward this upstream, too."
      
      Oliver Elphick
      3e518682
  29. 20 7月, 2001 1 次提交
  30. 17 7月, 2001 1 次提交
    • T
      Improve documentation about reasoning behind the order of operations · ed5c4e4a
      Tom Lane 提交于
      in GetSnapshotData, GetNewTransactionId, CommitTransaction, AbortTransaction,
      etc.  Correct race condition in transaction status testing in
      HeapTupleSatisfiesVacuum --- this wasn't important for old VACUUM with
      exclusive lock on its table, but it sure is important now.  All per
      pghackers discussion 7/11/01 and 7/12/01.
      ed5c4e4a