After 8023b582 there is no more SizeOfIptrData macro
authorChristoph Berg <[email protected]>
Fri, 14 Oct 2016 09:14:50 +0000 (11:14 +0200)
committerChristoph Berg <[email protected]>
Fri, 14 Oct 2016 09:14:50 +0000 (11:14 +0200)
Aleksander Alekseev

pg_filedump.c

index 2f2cd53c45c0c49664460df880ec4d95f647118d..ba5571130ec2790a50f796d7d1a1832801bbaccd 100644 (file)
@@ -991,7 +991,7 @@ FormatItem(unsigned int numBytes, unsigned int startIndex,
        if (formatAs == ITEM_INDEX)
        {
                /* It is an IndexTuple item, so dump the index header */
-               if (numBytes < SizeOfIptrData)
+               if (numBytes < sizeof(ItemPointerData))
                {
                        if (numBytes)
                        {