Oh, but of course we can't modify XLogReaderState in backbranches to add the new struct member abortedContrecordPtr (or whatever we end up naming that.)
I think I'm going to fix this, in backbranches only, by having xlogreader.c have a global variable, which is going to be used by ReadRecord instead of accessing the struct member. -- Álvaro Herrera PostgreSQL Developer — https://www.EnterpriseDB.com/