Skip to content

Commit c137c68

Browse files
Correct erroneous comment in GetOldestXmin()
Craig Ringer
1 parent af4b1a0 commit c137c68

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/backend/storage/ipc/procarray.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1294,6 +1294,7 @@ TransactionIdIsActive(TransactionId xid)
12941294
* in the master but are still being replayed on the standby, thus possibly
12951295
* making the GetOldestXmin reading go backwards. In this case there is a
12961296
* possibility that we lose data that the standby would like to have, but
1297+
* unless the standby uses a replication slot to make its xmin persistent
12971298
* there is little we can do about that --- data is only protected if the
12981299
* walsender runs continuously while queries are executed on the standby.
12991300
* (The Hot Standby code deals with such cases by failing standby queries

0 commit comments

Comments
 (0)