*** a/src/backend/access/rmgrdesc/gindesc.c
--- b/src/backend/access/rmgrdesc/gindesc.c
***************
*** 110,116 **** gin_desc(StringInfo buf, XLogReaderState *record)
  				else if (xlrec->flags & GIN_INSERT_ISLEAF)
  				{
  					ginxlogRecompressDataLeaf *insertData =
! 					(ginxlogRecompressDataLeaf *) payload;
  
  					if (XLogRecHasBlockImage(record, 0))
  						appendStringInfoString(buf, " (full page image)");
--- 110,116 ----
  				else if (xlrec->flags & GIN_INSERT_ISLEAF)
  				{
  					ginxlogRecompressDataLeaf *insertData =
! 						(ginxlogRecompressDataLeaf *) XLogRecGetBlockData(record, 0, NULL);
  
  					if (XLogRecHasBlockImage(record, 0))
  						appendStringInfoString(buf, " (full page image)");
***************
*** 144,150 **** gin_desc(StringInfo buf, XLogReaderState *record)
  			break;
  		case XLOG_GIN_VACUUM_DATA_LEAF_PAGE:
  			{
! 				ginxlogVacuumDataLeafPage *xlrec = (ginxlogVacuumDataLeafPage *) rec;
  
  				if (XLogRecHasBlockImage(record, 0))
  					appendStringInfoString(buf, " (full page image)");
--- 144,151 ----
  			break;
  		case XLOG_GIN_VACUUM_DATA_LEAF_PAGE:
  			{
! 				ginxlogVacuumDataLeafPage *xlrec =
! 					(ginxlogVacuumDataLeafPage *) XLogRecGetBlockData(record, 0, NULL);
  
  				if (XLogRecHasBlockImage(record, 0))
  					appendStringInfoString(buf, " (full page image)");
