Hello,
While walking in the code I see the following code in
src/backend/access/transam/xlogreader.c:177-191
XLogRecord *
XLogReadRecord(XLogReaderState *state, XLogRecPtr RecPtr, char **errormsg)
{XLogRecord *record;XLogRecPtr targetPagePtr;bool randAccess = false; <=== assignuint32 len,
total_len;uint32 targetRecOff;uint32 pageHeaderSize;bool gotheader;int readOff;
randAccess = false; <== reassign/* reset error state */
Do I am missing something or the last one is unnecessary?
Best regards.
--
Dickson S. Guedes
mail/xmpp: guedes@guedesoft.net - skype: guediz
http://github.com/guedes - http://guedesoft.nethttp://www.postgresql.org.br