The issue seems to have been introduced by 2129d184a206c when transactionState->priorContext was added and is only present in HEAD.
pgsql-hackers by date:
Соглашаюсь с условиями обработки персональных данных