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;  <=== assign
        uint32          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: gue...@guedesoft.net - skype: guediz
http://github.com/guedes - http://guedesoft.net
http://www.postgresql.org.br


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to