1. 05 7月, 2013 1 次提交
  2. 04 7月, 2013 1 次提交
    • R
      Add new GUC, max_worker_processes, limiting number of bgworkers. · 6bc8ef0b
      Robert Haas 提交于
      In 9.3, there's no particular limit on the number of bgworkers;
      instead, we just count up the number that are actually registered,
      and use that to set MaxBackends.  However, that approach causes
      problems for Hot Standby, which needs both MaxBackends and the
      size of the lock table to be the same on the standby as on the
      master, yet it may not be desirable to run the same bgworkers in
      both places.  9.3 handles that by failing to notice the problem,
      which will probably work fine in nearly all cases anyway, but is
      not theoretically sound.
      
      A further problem with simply counting the number of registered
      workers is that new workers can't be registered without a
      postmaster restart.  This is inconvenient for administrators,
      since bouncing the postmaster causes an interruption of service.
      Moreover, there are a number of applications for background
      processes where, by necessity, the background process must be
      started on the fly (e.g. parallel query).  While this patch
      doesn't actually make it possible to register new background
      workers after startup time, it's a necessary prerequisite.
      
      Patch by me.  Review by Michael Paquier.
      6bc8ef0b
  3. 03 7月, 2013 1 次提交
    • A
      Mention extra_float_digits in floating point docs · 148326b9
      Alvaro Herrera 提交于
      Make it easier for readers of the FP docs to find out about possibly
      truncated values.
      
      Per complaint from Tom Duffey in message
      F0E0F874-C86F-48D1-AA2A-0C5365BF5118@trillitech.com
      
      Author: Albe Laurenz
      Reviewed by: Abhijit Menon-Sen
      148326b9
  4. 20 6月, 2013 1 次提交
  5. 21 5月, 2013 1 次提交
  6. 06 5月, 2013 1 次提交
  7. 05 5月, 2013 2 次提交
  8. 04 5月, 2013 1 次提交
  9. 28 3月, 2013 2 次提交
  10. 27 3月, 2013 1 次提交
  11. 24 3月, 2013 1 次提交
  12. 22 3月, 2013 2 次提交
    • T
      Update commit_delay documentation. · 82b945c0
      Tom Lane 提交于
      Commit 13fe298c changed this GUC to be
      PGC_SUSET, but neglected to update the documentation to match.
      
      While at it, edit and rearrange the text a little for clarity.
      82b945c0
    • S
      Allow I/O reliability checks using 16-bit checksums · 96ef3b8f
      Simon Riggs 提交于
      Checksums are set immediately prior to flush out of shared buffers
      and checked when pages are read in again. Hint bit setting will
      require full page write when block is dirtied, which causes various
      infrastructure changes. Extensive comments, docs and README.
      
      WARNING message thrown if checksum fails on non-all zeroes page;
      ERROR thrown but can be disabled with ignore_checksum_failure = on.
      
      Feature enabled by an initdb option, since transition from option off
      to option on is long and complex and has not yet been implemented.
      Default is not to use checksums.
      
      Checksum used is WAL CRC-32 truncated to 16-bits.
      
      Simon Riggs, Jeff Davis, Greg Smith
      Wide input and assistance from many community members. Thank you.
      96ef3b8f
  13. 17 3月, 2013 1 次提交
    • T
      Add lock_timeout configuration parameter. · d43837d0
      Tom Lane 提交于
      This GUC allows limiting the time spent waiting to acquire any one
      heavyweight lock.
      
      In support of this, improve the recently-added timeout infrastructure
      to permit efficiently enabling or disabling multiple timeouts at once.
      That reduces the performance hit from turning on lock_timeout, though
      it's still not zero.
      
      Zoltán Böszörményi, reviewed by Tom Lane,
      Stephen Frost, and Hari Babu
      d43837d0
  14. 16 3月, 2013 1 次提交
    • T
      Improve the documentation about commit_delay. · 70ec2f8f
      Tom Lane 提交于
      Clarify the docs explaining what commit_delay does, and add a
      recommendation about a useful value for it, namely half of the single-page
      fsync time reported by pg_test_fsync.  This is informed by testing of
      the new-in-9.3 implementation of commit_delay; in prior versions it
      was far harder to arrive at a useful setting.
      
      In passing, do some wordsmithing and markup-fixing in the same general
      area.
      
      Also, change pg_test_fsync's default time-per-test from 2 seconds to 5.
      The old value was about the minimum at which the results could be taken
      seriously at all, and so seems a tad optimistic as a default.
      
      Peter Geoghegan, reviewed by Noah Misch; some additional editing by me
      70ec2f8f
  15. 11 3月, 2013 1 次提交
  16. 05 2月, 2013 1 次提交
  17. 03 2月, 2013 1 次提交
  18. 26 1月, 2013 3 次提交
  19. 04 12月, 2012 4 次提交
  20. 18 11月, 2012 1 次提交
  21. 01 11月, 2012 1 次提交
  22. 11 10月, 2012 1 次提交
    • H
      Improve replication connection timeouts. · 6f60fdd7
      Heikki Linnakangas 提交于
      Rename replication_timeout to wal_sender_timeout, and add a new setting
      called wal_receiver_timeout that does the same at the walreceiver side.
      There was previously no timeout in walreceiver, so if the network went down,
      for example, the walreceiver could take a long time to notice that the
      connection was lost. Now with the two settings, both sides of a replication
      connection will detect a broken connection similarly.
      
      It is no longer necessary to manually set wal_receiver_status_interval to
      a value smaller than the timeout. Both wal sender and receiver now
      automatically send a "ping" message if more than 1/2 of the configured
      timeout has elapsed, and it hasn't received any messages from the other end.
      
      Amit Kapila, heavily edited by me.
      6f60fdd7
  23. 08 10月, 2012 1 次提交
  24. 01 10月, 2012 1 次提交
  25. 24 9月, 2012 1 次提交
  26. 18 9月, 2012 1 次提交
    • T
      Provide adequate documentation of the "table_name *" notation. · 3c64342c
      Tom Lane 提交于
      Somewhere along the line, somebody decided to remove all trace of this
      notation from the documentation text.  It was still in the command syntax
      synopses, or at least some of them, but with no indication what it meant.
      This will not do, as evidenced by the confusion apparent in bug #7543;
      even if the notation is now unnecessary, people will find it in legacy
      SQL code and need to know what it does.
      3c64342c
  27. 31 8月, 2012 1 次提交
  28. 23 8月, 2012 3 次提交
  29. 11 8月, 2012 1 次提交
    • T
      Support having multiple Unix-domain sockets per postmaster. · c9b0cbe9
      Tom Lane 提交于
      Replace unix_socket_directory with unix_socket_directories, which is a list
      of socket directories, and adjust postmaster's code to allow zero or more
      Unix-domain sockets to be created.
      
      This is mostly a straightforward change, but since the Unix sockets ought
      to be created after the TCP/IP sockets for safety reasons (better chance
      of detecting a port number conflict), AddToDataDirLockFile needs to be
      fixed to support out-of-order updates of data directory lockfile lines.
      That's a change that had been foreseen to be necessary someday anyway.
      
      Honza Horak, reviewed and revised by Tom Lane
      c9b0cbe9
  30. 10 8月, 2012 1 次提交