Skip to content
Snippets Groups Projects
  1. Aug 04, 2007
    • Tom Lane's avatar
      Switch over to using the src/timezone functions for formatting timestamps · bdd6b622
      Tom Lane authored
      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
  2. Aug 03, 2007
  3. Aug 02, 2007
  4. Aug 01, 2007
  5. Jul 31, 2007
  6. Jul 27, 2007
  7. Jul 26, 2007
    • Tom Lane's avatar
      Remove FileUnlink(), which wasn't being used anywhere and interacted poorly · e4f4a7f5
      Tom Lane authored
      with the recent patch to log temp file sizes at removal time.  Doesn't seem
      worth fixing since it's unused.
      In passing, make a few elog messages conform to the message style guide.
      e4f4a7f5
    • Tom Lane's avatar
      Arrange to put TOAST tables belonging to temporary tables into special schemas · 82eed4db
      Tom Lane authored
      named pg_toast_temp_nnn, alongside the pg_temp_nnn schemas used for the temp
      tables themselves.  This allows low-level code such as the relcache to
      recognize that these tables are indeed temporary, which enables various
      optimizations such as not WAL-logging changes and using local rather than
      shared buffers for access.  Aside from obvious performance benefits, this
      provides a solution to bug #3483, in which other backends unexpectedly held
      open file references to temporary tables.  The scheme preserves the property
      that TOAST tables are not in any schema that's normally in the search path,
      so they don't conflict with user table names.
      
      initdb forced because of changes in system view definitions.
      82eed4db
  8. Jul 25, 2007
  9. Jul 24, 2007
  10. Jul 23, 2007
  11. Jul 22, 2007
    • Tom Lane's avatar
      Fix elog.c to avoid infinite recursion (leading to backend crash) when · a0dab332
      Tom Lane authored
      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
  12. Jul 21, 2007
  13. Jul 20, 2007
Loading