Correct erroneous comment in GetOldestXmin()
authorSimon Riggs <simon@2ndQuadrant.com>
Wed, 22 Mar 2017 16:58:12 +0000 (16:58 +0000)
committerSimon Riggs <simon@2ndQuadrant.com>
Wed, 22 Mar 2017 16:58:12 +0000 (16:58 +0000)
Craig Ringer

src/backend/storage/ipc/procarray.c

index 3e562d3a545135f432b24adf3b38f5908177462f..40c3247d4b8728c8cafd8b420895247cd700fe54 100644 (file)
@@ -1294,6 +1294,7 @@ TransactionIdIsActive(TransactionId xid)
  * in the master but are still being replayed on the standby, thus possibly
  * making the GetOldestXmin reading go backwards.  In this case there is a
  * possibility that we lose data that the standby would like to have, but
+ * unless the standby uses a replication slot to make its xmin persistent
  * there is little we can do about that --- data is only protected if the
  * walsender runs continuously while queries are executed on the standby.
  * (The Hot Standby code deals with such cases by failing standby queries