postgres.git / summary / log / commit / refs

commit    c137c68ea6bfe860c3e5f4edee7031e136ba4f0c
Author:   Simon Riggs <simon@2ndQuadrant.com>
Date:     Wed Mar 22 16:58:12 2017 +0000

    Correct erroneous comment in GetOldestXmin()
    
    Craig Ringer


src/backend/storage/ipc/procarray.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/backend/storage/ipc/procarray.c b/src/backend/storage/ipc/procarray.c index 3e562d3a545..40c3247d4b8 100644 --- a/src/backend/storage/ipc/procarray.c +++ b/src/backend/storage/ipc/procarray.c @@ -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 [parent: af4b1a0869bd]