feedbackXmin,
feedbackEpoch);
- /* Ignore invalid xmin (can't actually happen with current walreceiver) */
+ /* Unset WalSender's xmin if the feedback message value is invalid */
if (!TransactionIdIsNormal(feedbackXmin))
+ {
+ MyPgXact->xmin = InvalidTransactionId;
return;
+ }
/*
* Check that the provided xmin/epoch are sane, that is, not in the future