1. 05 8月, 2002 1 次提交
  2. 04 8月, 2002 1 次提交
  3. 21 6月, 2002 1 次提交
  4. 11 6月, 2002 1 次提交
    • J
      Katherine Ward wrote: · 469cb65a
      Jan Wieck 提交于
      > Changes to avoid collisions with WIN32 & MFC names...
      > 1.  Renamed:
      >       a.  PROC => PGPROC
      >       b.  GetUserName() => GetUserNameFromId()
      >       c.  GetCurrentTime() => GetCurrentDateTime()
      >       d.  IGNORE => IGNORE_DTF in include/utils/datetime.h & utils/adt/datetim
      >
      > 2.  Added _P to some lex/yacc tokens:
      >       CONST, CHAR, DELETE, FLOAT, GROUP, IN, OUT
      
      Jan
      469cb65a
  5. 08 6月, 2002 1 次提交
  6. 17 5月, 2002 1 次提交
    • T
      Merge the last few variable.c configuration variables into the generic · f0811a74
      Tom Lane 提交于
      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
  7. 09 5月, 2002 1 次提交
  8. 24 4月, 2002 1 次提交
  9. 22 4月, 2002 1 次提交
  10. 03 4月, 2002 1 次提交
  11. 16 3月, 2002 1 次提交
  12. 06 3月, 2002 1 次提交
    • B
      Change made to elog: · 92288a1c
      Bruce Momjian 提交于
      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
  13. 03 3月, 2002 1 次提交
    • B
      Commit to match discussed elog() changes. Only update is that LOG is · a033daf5
      Bruce Momjian 提交于
      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
  14. 18 2月, 2002 1 次提交
    • B
      Add better error text: · c4488473
      Bruce Momjian 提交于
                      elog(LOG, "XLogWrite: new log file created - "
                           "consider increasing 'wal_files' in postgresql.conf.");
      c4488473
  15. 15 1月, 2002 1 次提交
  16. 29 12月, 2001 1 次提交
    • T
      Ensure that all direct uses of spinlock-protected data structures use · d3fc362e
      Tom Lane 提交于
      'volatile' pointers to access those structures, so that optimizing
      compilers will not decide to move the structure accesses outside of the
      spinlock-acquire-to-spinlock-release sequence.  There are no known bugs
      in these uses at present, but based on bad experience with lwlock.c,
      it seems prudent to ensure that we protect these other uses too.
      Per pghackers discussion around 12-Dec.  (Note: it should not be
      necessary to worry about structures protected by LWLocks, since the
      LWLock acquire and release operations are not inline macros.)
      d3fc362e
  17. 23 12月, 2001 1 次提交
  18. 20 12月, 2001 1 次提交
  19. 06 11月, 2001 1 次提交
  20. 05 11月, 2001 1 次提交
    • 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
  21. 28 10月, 2001 1 次提交
  22. 25 10月, 2001 1 次提交
  23. 29 9月, 2001 1 次提交
    • T
      Implement new 'lightweight lock manager' that's intermediate between · 499abb0c
      Tom Lane 提交于
      existing lock manager and spinlocks: it understands exclusive vs shared
      lock but has few other fancy features.  Replace most uses of spinlocks
      with lightweight locks.  All remaining uses of spinlocks have very short
      lock hold times (a few dozen instructions), so tweak spinlock backoff
      code to work efficiently given this assumption.  All per my proposal on
      pghackers 26-Sep-01.
      499abb0c
  24. 27 9月, 2001 1 次提交
  25. 06 9月, 2001 1 次提交
  26. 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
  27. 24 8月, 2001 1 次提交
  28. 11 8月, 2001 1 次提交
    • T
      Make OIDs optional, per discussions in pghackers. WITH OIDS is still the · bf56f075
      Tom Lane 提交于
      default, but OIDS are removed from many system catalogs that don't need them.
      Some interesting side effects: TOAST pointers are 20 bytes not 32 now;
      pg_description has a three-column key instead of one.
      
      Bugs fixed in passing: BINARY cursors work again; pg_class.relhaspkey
      has some usefulness; pg_dump dumps comments on indexes, rules, and
      triggers in a valid order.
      
      initdb forced.
      bf56f075
  29. 23 7月, 2001 1 次提交
  30. 19 7月, 2001 1 次提交
    • T
      Arrange to recycle old XLOG log segment files as new segment files, · 7d4d5c00
      Tom Lane 提交于
      rather than deleting them only to have to create more.  Steady state
      is 2*CHECKPOINT_SEGMENTS + WAL_FILES + 1 segment files, which will
      simply be renamed rather than constantly deleted and recreated.
      To make this safe, added current XLOG file/offset number to page
      header of XLOG pages, so that an un-overwritten page from an old
      incarnation of a logfile can be reliably told from a valid page.
      This change means that if you try to restart postmaster in a CVS-tip
      database after installing the change, you'll get a complaint about
      bad XLOG page magic number.  If you don't want to initdb, run
      contrib/pg_resetxlog (and be sure you shut down the old postmaster
      cleanly).
      7d4d5c00
  31. 22 6月, 2001 1 次提交
  32. 07 6月, 2001 1 次提交
    • T
      Adjust WAL code so that checkpoints truncate the xlog at the previous · 1173344e
      Tom Lane 提交于
      checkpoint's redo pointer, not its undo pointer, per discussion in
      pghackers a few days ago.  No point in hanging onto undo information
      until we have the ability to do something with it --- and this solves
      a rather large problem with log space for long-running transactions.
      Also, change all calls of write() to detect the case where write
      returned a count less than requested, but failed to set errno.
      Presume that this situation indicates ENOSPC, and give the appropriate
      error message, rather than a random message associated with the previous
      value of errno.
      1173344e
  33. 03 6月, 2001 1 次提交
  34. 30 5月, 2001 1 次提交
  35. 23 5月, 2001 1 次提交
  36. 06 4月, 2001 1 次提交
  37. 05 4月, 2001 1 次提交
  38. 22 3月, 2001 1 次提交
  39. 19 3月, 2001 1 次提交
  40. 18 3月, 2001 1 次提交