1. 04 8月, 2007 2 次提交
    • T
      Switch over to using the src/timezone functions for formatting timestamps · bdd6b622
      Tom Lane 提交于
      displayed in the postmaster log.  This avoids Windows-specific problems with
      localized time zone names that are in the wrong encoding, and generally seems
      like a good idea to forestall other potential platform-dependent issues.
      To preserve the existing behavior that all backends will log in the same time
      zone, create a new GUC variable log_timezone that can only be changed on a
      system-wide basis, and reference log-related calculations to that zone instead
      of the TimeZone variable.
      
      This fixes the issue reported by Hiroshi Saito that timestamps printed by
      xlog.c startup could be improperly localized on Windows.  We still need a
      simpler patch for that problem in the back branches, however.
      bdd6b622
    • T
      Fix some sloppiness in the recent multiple-autovacuum-worker patch. It was · 73852bd5
      Tom Lane 提交于
      not bothering to initialize is_autovacuum for regular backends, meaning there
      was a significant chance of the postmaster prematurely sending them SIGTERM
      during database shutdown.  Also, leaving the cancel key unset for an autovac
      worker meant that any client could send it SIGINT, which doesn't sound
      especially good either.
      73852bd5
  2. 03 8月, 2007 4 次提交
  3. 02 8月, 2007 4 次提交
  4. 01 8月, 2007 3 次提交
  5. 31 7月, 2007 1 次提交
  6. 28 7月, 2007 1 次提交
  7. 27 7月, 2007 1 次提交
  8. 26 7月, 2007 5 次提交
  9. 25 7月, 2007 6 次提交
  10. 24 7月, 2007 7 次提交
  11. 23 7月, 2007 2 次提交
  12. 22 7月, 2007 1 次提交
    • T
      Fix elog.c to avoid infinite recursion (leading to backend crash) when · a0dab332
      Tom Lane 提交于
      log_min_error_statement is active and there is some problem in logging the
      current query string; for example, that it's too long to include in the log
      message without running out of memory.  This problem has existed since the
      log_min_error_statement feature was introduced.  No doubt the reason it
      wasn't detected long ago is that 8.2 is the first release that defaults
      log_min_error_statement to less than PANIC level.
      Per report from Bill Moran.
      a0dab332
  13. 21 7月, 2007 3 次提交