1. 12 Apr, 2010 1 commit
    • Heikki Linnakangas's avatar
      Change the logic to decide when to delete old WAL segments, so that it · e57cd7f0
      Heikki Linnakangas authored
      doesn't take into account how far the WAL senders are. This way a hung
      WAL sender doesn't prevent old WAL segments from being recycled/removed
      in the primary, ultimately causing the disk to fill up. Instead add
      standby_keep_segments setting to control how many old WAL segments are
      kept in the primary. This also makes it more reliable to use streaming
      replication without WAL archiving, assuming that you set
      standby_keep_segments high enough.
      e57cd7f0
  2. 09 Apr, 2010 3 commits
  3. 08 Apr, 2010 2 commits
    • Magnus Hagander's avatar
      Proceed to look for the next timezone when matching a localized · 6efb081e
      Magnus Hagander authored
      Windows timezone name where the information in the registry is
      incomplete, instead of aborting.
      
      This fixes cases when the registry information is incomplete for
      a timezone that is alphabetically before the one that is in use.
      
      Per report from Alexander Forschner
      6efb081e
    • Robert Haas's avatar
      Make smart shutdown work in combination with Hot Standby/Streaming Replication. · 1c850fa8
      Robert Haas authored
      At present, killing the startup process does not release any locks it holds,
      so we must wait to stop the startup and walreceiver processes until all
      read-only backends have exited.  Without this patch, the startup and
      walreceiver processes never exit, so the server gets permanently stuck in
      a half-shutdown state.
      
      Fujii Masao, with review, docs, and comment adjustments by me.
      1c850fa8
  4. 07 Apr, 2010 5 commits
  5. 06 Apr, 2010 5 commits
  6. 05 Apr, 2010 8 commits
  7. 03 Apr, 2010 7 commits
  8. 02 Apr, 2010 8 commits
  9. 01 Apr, 2010 1 commit
    • Heikki Linnakangas's avatar
      Don't pass an invalid file handle to dup2(). That causes a crash on · 93001dfd
      Heikki Linnakangas authored
      Windows, thanks to a feature in CRT called Parameter Validation.
      
      Backpatch to 8.2, which is the oldest version supported on Windows. In
      8.2 and 8.3 also backpatch the earlier change to use DEVNULL instead of
      NULL_DEV #define for a /dev/null-like device. NULL_DEV was hard-coded to
      "/dev/null" regardless of platform, which didn't work on Windows, while
      DEVNULL works on all platforms. Restarting syslogger didn't work on
      Windows on versions 8.3 and below because of that.
      93001dfd