1. 15 11月, 2002 2 次提交
  2. 09 11月, 2002 1 次提交
    • T
      Add extra_float_digits GUC parameter to allow adjustment of displayed · d2c744aa
      Tom Lane 提交于
      precision for float4, float8, and geometric types.  Set it in pg_dump
      so that float data can be dumped/reloaded exactly (at least on platforms
      where the float I/O support is properly implemented).  Initial patch by
      Pedro Ferreira, some additional work by Tom Lane.
      d2c744aa
  3. 02 9月, 2002 2 次提交
  4. 31 8月, 2002 1 次提交
    • T
      AUTOCOMMIT mode is now an available backend GUC variable; setting it · 26993b29
      Tom Lane 提交于
      to false provides more SQL-spec-compliant behavior than we had before.
      I am not sure that setting it false is actually a good idea yet; there
      is a lot of client-side code that will probably be broken by turning
      autocommit off.  But it's a start.
      
      Loosely based on a patch by David Van Wie.
      26993b29
  5. 30 8月, 2002 1 次提交
    • B
      This patch reserves the last superuser_reserved_connections slots for · 626eca69
      Bruce Momjian 提交于
      connections by the superuser only.
      
      This patch replaces the last patch I sent a couple of days ago.
      
      It closes a connection that has not been authorised by a superuser if it would
      leave less than the GUC variable ReservedBackends
      (superuser_reserved_connections in postgres.conf) backend process slots free
      in the SISeg. This differs to the first patch which only reserved the last
      ReservedBackends slots in the procState array. This has made the free slot
      test more expensive due to the use of a lock.
      
      After thinking about a comment on the first patch I've also made it a fatal
      error if the number of reserved slots is not less than the maximum number of
      connections.
      
      Nigel J. Andrews
      626eca69
  6. 27 8月, 2002 3 次提交
  7. 18 8月, 2002 1 次提交
  8. 12 8月, 2002 1 次提交
    • T
      Change memory-space accounting mechanism in tuplesort.c and tuplestore.c · 77a7e996
      Tom Lane 提交于
      to make a reasonable attempt at accounting for palloc overhead, not just
      the requested size of each memory chunk.  Since in many scenarios this
      will make for a significant reduction in the amount of space acquired,
      partially compensate by doubling the default value of SORT_MEM to 1Mb.
      Per discussion in pgsql-general around 9-Jun-2002..
      77a7e996
  9. 01 8月, 2002 1 次提交
    • T
      Instead of having a configure-time DEFAULT_ATTSTATTARGET, store -1 in · ce7565ab
      Tom Lane 提交于
      attstattarget to indicate 'use the default'.  The default is now a GUC
      variable default_statistics_target, and so may be changed on the fly.  Along
      the way we gain the ability to have pg_dump dump the per-column statistics
      target when it's not the default.  Patch by Neil Conway, with some kibitzing
      from Tom Lane.
      ce7565ab
  10. 30 7月, 2002 1 次提交
  11. 13 7月, 2002 1 次提交
  12. 16 6月, 2002 1 次提交
  13. 15 6月, 2002 1 次提交
  14. 08 6月, 2002 1 次提交
  15. 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
  16. 04 4月, 2002 1 次提交
  17. 01 4月, 2002 1 次提交
    • T
      Create a new GUC variable search_path to control the namespace search · 838fe25a
      Tom Lane 提交于
      path.  The default behavior if no per-user schemas are created is that
      all users share a 'public' namespace, thus providing behavior backwards
      compatible with 7.2 and earlier releases.  Probably the semantics and
      default setting will need to be fine-tuned, but this is a start.
      838fe25a
  18. 24 3月, 2002 1 次提交
  19. 09 3月, 2002 1 次提交
  20. 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
  21. 03 3月, 2002 2 次提交
    • B
      Default server_min_messages is NOTICE. · 343e47c2
      Bruce Momjian 提交于
      343e47c2
    • 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
  22. 18 2月, 2002 1 次提交
  23. 04 1月, 2002 1 次提交
  24. 18 12月, 2001 1 次提交
  25. 01 10月, 2001 1 次提交
    • T
      Create a GUC parameter max_files_per_process that is a configurable · f9f25828
      Tom Lane 提交于
      upper limit on what we will believe from sysconf(_SC_OPEN_MAX).  The
      default value is 1000, so that under ordinary conditions it won't
      affect the behavior.  But on platforms where the kernel promises far
      more than it can deliver, this can be used to prevent running out of
      file descriptors.  See numerous past discussions, eg, pgsql-hackers
      around 23-Dec-2000.
      f9f25828
  26. 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
  27. 27 9月, 2001 1 次提交
  28. 24 9月, 2001 1 次提交
  29. 22 9月, 2001 1 次提交
    • T
      Add an overall timeout on the client authentication cycle, so that · 35b7601b
      Tom Lane 提交于
      a hung client or lost connection can't indefinitely block a postmaster
      child (not to mention the possibility of deliberate DoS attacks).
      Timeout is controlled by new authentication_timeout GUC variable,
      which I set to 60 seconds by default ... does that seem reasonable?
      35b7601b
  30. 21 9月, 2001 1 次提交
  31. 12 9月, 2001 1 次提交
  32. 07 9月, 2001 1 次提交
  33. 22 8月, 2001 2 次提交
  34. 16 8月, 2001 1 次提交