Skip to content
Snippets Groups Projects
  1. Aug 04, 2003
  2. Jul 27, 2003
  3. Jul 22, 2003
  4. Jul 19, 2003
  5. Jun 30, 2003
  6. May 28, 2003
  7. Apr 24, 2003
    • Tom Lane's avatar
      Infrastructure for upgraded error reporting mechanism. elog.c is · f690920a
      Tom Lane authored
      rewritten and the protocol is changed, but most elog calls are still
      elog calls.  Also, we need to contemplate mechanisms for controlling
      all this functionality --- eg, how much stuff should appear in the
      postmaster log?  And what API should libpq expose for it?
      f690920a
  8. Apr 22, 2003
    • Tom Lane's avatar
      Another round of protocol changes. Backend-to-frontend messages now all · 5ed27e35
      Tom Lane authored
      have length words.  COPY OUT reimplemented per new protocol: it doesn't
      need \. anymore, thank goodness.  COPY BINARY to/from frontend works,
      at least as far as the backend is concerned --- libpq's PQgetline API
      is not up to snuff, and will have to be replaced with something that is
      null-safe.  libpq uses message length words for performance improvement
      (no cycles wasted rescanning long messages), but not yet for error
      recovery.
      5ed27e35
  9. Mar 20, 2003
  10. Jan 07, 2003
  11. Nov 15, 2002
  12. Nov 01, 2002
  13. Sep 04, 2002
  14. Sep 02, 2002
  15. Aug 29, 2002
  16. Jun 20, 2002
  17. May 17, 2002
    • Tom Lane's avatar
      Merge the last few variable.c configuration variables into the generic · f0811a74
      Tom Lane authored
      GUC support.  It's now possible to set datestyle, timezone, and
      client_encoding from postgresql.conf and per-database or per-user
      settings.  Also, implement rollback of SET commands that occur in a
      transaction that later fails.  Create a SET LOCAL var = value syntax
      that sets the variable only for the duration of the current transaction.
      All per previous discussions in pghackers.
      f0811a74
  18. May 05, 2002
  19. Apr 21, 2002
  20. Apr 04, 2002
  21. Mar 06, 2002
    • Bruce Momjian's avatar
      Change made to elog: · 92288a1c
      Bruce Momjian authored
      o  Change all current CVS messages of NOTICE to WARNING.  We were going
      to do this just before 7.3 beta but it has to be done now, as you will
      see below.
      
      o Change current INFO messages that should be controlled by
      client_min_messages to NOTICE.
      
      o Force remaining INFO messages, like from EXPLAIN, VACUUM VERBOSE, etc.
      to always go to the client.
      
      o Remove INFO from the client_min_messages options and add NOTICE.
      
      Seems we do need three non-ERROR elog levels to handle the various
      behaviors we need for these messages.
      
      Regression passed.
      92288a1c
  22. Mar 04, 2002
  23. Mar 02, 2002
    • Bruce Momjian's avatar
      Commit to match discussed elog() changes. Only update is that LOG is · a033daf5
      Bruce Momjian authored
      now just below FATAL in server_min_messages.  Added more text to
      highlight ordering difference between it and client_min_messages.
      
      ---------------------------------------------------------------------------
      
      REALLYFATAL => PANIC
      STOP => PANIC
      New INFO level the prints to client by default
      New LOG level the prints to server log by default
      Cause VACUUM information to print only to the client
      NOTICE => INFO where purely information messages are sent
      DEBUG => LOG for purely server status messages
      DEBUG removed, kept as backward compatible
      DEBUG5, DEBUG4, DEBUG3, DEBUG2, DEBUG1 added
      DebugLvl removed in favor of new DEBUG[1-5] symbols
      New server_min_messages GUC parameter with values:
              DEBUG[5-1], INFO, NOTICE, ERROR, LOG, FATAL, PANIC
      New client_min_messages GUC parameter with values:
              DEBUG[5-1], LOG, INFO, NOTICE, ERROR, FATAL, PANIC
      Server startup now logged with LOG instead of DEBUG
      Remove debug_level GUC parameter
      elog() numbers now start at 10
      Add test to print error message if older elog() values are passed to elog()
      Bootstrap mode now has a -d that requires an argument, like postmaster
      a033daf5
  24. Nov 05, 2001
  25. Oct 25, 2001
  26. Oct 19, 2001
  27. Aug 06, 2001
  28. Jun 20, 2001
    • Peter Eisentraut's avatar
      Handle reading of startup packet and authentication exchange after forking · 9b4bfbdc
      Peter Eisentraut authored
      a new postmaster child process.  This should eliminate problems with
      authentication blocking (e.g., ident, SSL init) and also reduce problems
      with the accept queue filling up under heavy load.
      
      The option to send elog output to a different file per backend (postgres -o)
      has been disabled for now because the initialization would have to happen
      in a different order and it's not clear we want to keep this anyway.
      9b4bfbdc
  29. Jun 08, 2001
  30. Jun 02, 2001
    • Peter Eisentraut's avatar
      Native Language Support (NLS) · e5420364
      Peter Eisentraut authored
      Use --enable-nls to turn it on; see installation instructions for details.
      See developer's guide how to make use of it in programs and how to add
      translations.
      
      psql sources have been almost fully prepared and an incomplete German
      translation has been provided.  In the backend, only elog() calls are
      currently translatable, and the provided German translation file is more
      of a placeholder.
      e5420364
  31. May 30, 2001
  32. Mar 22, 2001
  33. Mar 10, 2001
  34. Feb 21, 2001
  35. Jan 24, 2001
  36. Jan 23, 2001
    • Tom Lane's avatar
      Remove rangechecks on errno; just call strerror unconditionally. This · e9c936ff
      Tom Lane authored
      eliminates a raft of portability issues, including whether sys_nerr
      exists, whether the platform has any valid negative errnos, etc.  The
      downside is minimal: errno shouldn't ever contain an invalid value anyway,
      and if it does, reasonably modern versions of strerror will not choke.
      This rangecheck idea seemed good at the time, but it's clearly a net loss,
      and I apologize to all concerned for having ever put it in.
      e9c936ff
  37. Jan 21, 2001
    • Tom Lane's avatar
      Deal with C++ incompatibility of sys_nerr declaration by taking it out · 023a48b8
      Tom Lane authored
      of c.h altogether, and putting it into the only places that use it
      (elog.c and exc.c), instead.  Modify these routines to check for a
      NULL or empty-string return from strerror, too, since some platforms
      define strerror to return empty string for unknown errors (what a useless
      definition that is ...).  Clean up some cruft in ExcPrint while at it.
      023a48b8
  38. Jan 19, 2001
Loading