That's, uh, weird. TopTransactionContext should never be NULL here. This is with a stock 9.4.5, without any further extensions configured?
pgsql-bugs by date:
Соглашаюсь с условиями обработки персональных данных