Skip to content
Snippets Groups Projects
  1. Aug 12, 2005
    • Bruce Momjian's avatar
      This patch fixes the event type used to log output from the · ed63689b
      Bruce Momjian authored
      stderr-in-service or output-from-syslogger-in-service code. Previously
      everything was flagged as ERRORs there, which caused all instances to
      log "LOG: logger shutting down" as error...
      
      Please apply for 8.1. I'd also like it considered for 8.0 since logging
      non-errors as errors can be cause for alarm amongst people who actually
      look at their logs...
      
      Magnus Hagander
      ed63689b
  2. Jun 10, 2005
  3. Mar 12, 2005
  4. Feb 27, 2005
  5. Feb 22, 2005
  6. Dec 31, 2004
    • PostgreSQL Daemon's avatar
      · 2ff50159
      PostgreSQL Daemon authored
      Tag appropriate files for rc3
      
      Also performed an initial run through of upgrading our Copyright date to
      extend to 2005 ... first run here was very simple ... change everything
      where: grep 1996-2004 && the word 'Copyright' ... scanned through the
      generated list with 'less' first, and after, to make sure that I only
      picked up the right entries ...
      2ff50159
  7. Oct 09, 2004
  8. Oct 07, 2004
  9. Sep 22, 2004
  10. Sep 05, 2004
    • Tom Lane's avatar
      On further consideration, there's another problem here: the existing · 1a86e6ea
      Tom Lane authored
      elog() emulation code always calls errstart with ERROR error level.
      This means that a recursive error call triggered by elog would do
      MemoryContextReset(ErrorContext), whether or not this was actually
      appropriate.  I'm surprised we haven't seen this in the field...
      1a86e6ea
    • Tom Lane's avatar
      Tweak elog.c's logic for promoting errors into more severe errors. · cefb4b14
      Tom Lane authored
      Messages of less than ERROR severity should never be promoted (this
      fixes Gaetano Mendola's problem with a COMMERROR becoming a PANIC,
      and is obvious in hindsight anyway).  Do all promotion in errstart
      not errfinish, to ensure that output decisions are made correctly;
      the former coding could suppress logging of promoted errors, which
      doesn't seem like a good idea.  Eliminate some redundant code too.
      cefb4b14
  11. Aug 29, 2004
  12. Aug 06, 2004
    • Tom Lane's avatar
      Create a built-in log rotation program, so that we no longer have to · bdf8ef69
      Tom Lane authored
      recommend that people go get Apache's rotatelogs program.  Additional
      benefits are that configuration is done through GUC, rather than
      externally, and that the postmaster can monitor the log rotator and
      restart it after failure (though we certainly hope that won't happen
      often).
      Andreas Pflug, some rework by Tom Lane.
      bdf8ef69
  13. Aug 04, 2004
  14. Jul 31, 2004
  15. Jul 29, 2004
  16. Jun 24, 2004
  17. Jun 21, 2004
  18. Jun 03, 2004
    • Tom Lane's avatar
      Adjust our timezone library to use pg_time_t (typedef'd as int64) in · 921d749b
      Tom Lane authored
      place of time_t, as per prior discussion.  The behavior does not change
      on machines without a 64-bit-int type, but on machines with one, which
      is most, we are rid of the bizarre boundary behavior at the edges of
      the 32-bit-time_t range (1901 and 2038).  The system will now treat
      times over the full supported timestamp range as being in your local
      time zone.  It may seem a little bizarre to consider that times in
      4000 BC are PST or EST, but this is surely at least as reasonable as
      propagating Gregorian calendar rules back that far.
      
      I did not modify the format of the zic timezone database files, which
      means that for the moment the system will not know about daylight-savings
      periods outside the range 1901-2038.  Given the way the files are set up,
      it's not a simple decision like 'widen to 64 bits'; we have to actually
      think about the range of years that need to be supported.  We should
      probably inquire what the plans of the upstream zic people are before
      making any decisions of our own.
      921d749b
  19. May 30, 2004
    • Tom Lane's avatar
      Separate out bgwriter code into a logically separate module, rather · 076a055a
      Tom Lane authored
      than being random pieces of other files.  Give bgwriter responsibility
      for all checkpoint activity (other than a post-recovery checkpoint);
      so this child process absorbs the functionality of the former transient
      checkpoint and shutdown subprocesses.  While at it, create an actual
      include file for postmaster.c, which for some reason never had its own
      file before.
      076a055a
  20. May 28, 2004
  21. May 21, 2004
  22. May 07, 2004
    • Tom Lane's avatar
      Solve the 'Turkish problem' with undesirable locale behavior for case · 0bd61548
      Tom Lane authored
      conversion of basic ASCII letters.  Remove all uses of strcasecmp and
      strncasecmp in favor of new functions pg_strcasecmp and pg_strncasecmp;
      remove most but not all direct uses of toupper and tolower in favor of
      pg_toupper and pg_tolower.  These functions use the same notions of
      case folding already developed for identifier case conversion.  I left
      the straight locale-based folding in place for situations where we are
      just manipulating user data and not trying to match it to built-in
      strings --- for example, the SQL upper() function is still locale
      dependent.  Perhaps this will prove not to be what's wanted, but at
      the moment we can initdb and pass regression tests in Turkish locale.
      0bd61548
  23. Apr 22, 2004
  24. Apr 16, 2004
  25. Apr 11, 2004
  26. Apr 05, 2004
  27. Mar 22, 2004
  28. Mar 21, 2004
  29. Mar 19, 2004
  30. Mar 15, 2004
  31. Mar 09, 2004
    • Bruce Momjian's avatar
      Add: · 2d3fe86b
      Bruce Momjian authored
      #log_line_prefix = ''         # e.g. '<%u%%%d> '
                                    # %u=user name %d=database name
                                    # %r=remote host and port
                                    # %p=PID %t=timestamp %i=command tag
                                    # %c=session id %l=session line number
                                    # %s=session start timestamp
                                    # %x=stop here in non-session processes
                                    # %%='%'
      
      Andrew Dunstan
      2d3fe86b
  32. Nov 29, 2003
    • PostgreSQL Daemon's avatar
      · 969685ad
      PostgreSQL Daemon authored
      $Header: -> $PostgreSQL Changes ...
      969685ad
  33. Oct 17, 2003
  34. Oct 08, 2003
  35. Sep 25, 2003
Loading