Re: [HACKERS] Reassign variable value in XLogReadRecord

2013-04-09 Thread Robert Haas
On Mon, Apr 8, 2013 at 9:31 PM, Dickson S. Guedes wrote: > Do I am missing something or the last one is unnecessary? Looks unnecessary to me, too. Removed. -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company -- Sent via pgsql-hackers mailing list (pgsql

[HACKERS] Reassign variable value in XLogReadRecord

2013-04-08 Thread Dickson S. Guedes
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; boolrandAcc