1. 22 Mar, 2017 5 commits
    • Simon Riggs's avatar
      Improve performance of replay of AccessExclusiveLocks · 9b013dc2
      Simon Riggs authored
      A hot standby replica keeps a list of Access Exclusive locks for a top
      level transaction. These locks are released when the top level transaction
      ends. Searching of this list is O(N^2), and each transaction had to pay the
      price of searching this list for locks, even if it didn't take any AE
      locks itself.
      
      This patch optimizes this case by having the master server track which
      transactions took AE locks, and passes that along to the standby server in
      the commit/abort record. This allows the standby to only try to release
      locks for transactions which actually took any, avoiding the majority of
      the performance issue.
      
      Refactor MyXactAccessedTempRel into MyXactFlags to allow minimal additional
      cruft with this.
      
      Analysis and initial patch by David Rowley
      Author: David Rowley and Simon Riggs
      9b013dc2
    • Simon Riggs's avatar
      Teach xlogreader to follow timeline switches · 1148e22a
      Simon Riggs authored
      Uses page-based mechanism to ensure we’re using the correct timeline.
      
      Tests are included to exercise the functionality using a cold disk-level copy
      of the master that's started up as a replica with slots intact, but the
      intended use of the functionality is with later features.
      
      Craig Ringer, reviewed by Simon Riggs and Andres Freund
      1148e22a
    • Peter Eisentraut's avatar
      Avoid Perl warning · 9ca2dd57
      Peter Eisentraut authored
      Perl versions before 5.12 would warn "Use of implicit split to @_ is
      deprecated".
      
      Author: Jeff Janes <jeff.janes@gmail.com>
      9ca2dd57
    • Peter Eisentraut's avatar
      pg_dump: Only dump publications when dumping everything · 05227e0c
      Peter Eisentraut authored
      Don't dump publications with pg_dump -t or similar cases that select
      specific groups of objects.
      
      Author: Petr Jelinek <petr.jelinek@2ndquadrant.com>
      05227e0c
    • Peter Eisentraut's avatar
      doc: Update tool sets documentation for modern FreeBSD · 9212810c
      Peter Eisentraut authored
      For several operating systems, we give handy package manager one-liners
      to install all the requirements for building our documentation.  All
      current production FreeBSD releases have a friendly new package manager
      a bit like apt/yum, so give a one line command here.  Also, add a brief
      note about gmake vs make in the doc subdirectory.
      
      Author: Thomas Munro <thomas.munro@enterprisedb.com>
      9212810c
  2. 21 Mar, 2017 14 commits
  3. 20 Mar, 2017 10 commits
  4. 19 Mar, 2017 3 commits
  5. 18 Mar, 2017 8 commits