duplicate #define - Mailing list pgsql-hackers

From Mark Dilger
Subject duplicate #define
Date
Msg-id CAE-h2ToB6b2h=GnOpOMn2kCPo5-fhSg4nNGovxGhTfjexEhv1w@mail.gmail.com
Whole thread Raw
Responses Re: duplicate #define  (Heikki Linnakangas <hlinnakangas@vmware.com>)
List pgsql-hackers
In commit 2c03216d831160bedd72d45f712601b6f7d03f1c, the
following define occurs twice in src/include/access/xlogrecord.h:

#define SizeOfXLogRecordDataHeaderLong (sizeof(uint8) + sizeof(uint32))

It is no big deal, as the definitions don't contradict each other.  We
could probably live with just one, though.

Patch attached


Mark Dilger
Attachment

pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: [REVIEW] Re: Compression of full-page-writes
Next
From: Michael Paquier
Date:
Subject: Custom timestamp format in logs