diff --git a/src/backend/replication/logical/snapbuild.c b/src/backend/replication/logical/snapbuild.c
index ad65b98..a48db7e 100644
*** a/src/backend/replication/logical/snapbuild.c
--- b/src/backend/replication/logical/snapbuild.c
*************** SnapBuildProcessNewCid(SnapBuild *builde
*** 770,775 ****
--- 770,781 ----
  					   XLogRecPtr lsn, xl_heap_new_cid *xlrec)
  {
  	CommandId	cid;
+ 	TransactionId top_xid;
+ 	RelFileNode node;
+ 	ItemPointerData tid;
+ 	CommandId cmin;
+ 	CommandId cmax;
+ 	CommandId combocid;
  
  	/*
  	 * we only log new_cid's if a catalog tuple was modified, so mark the
*************** SnapBuildProcessNewCid(SnapBuild *builde
*** 777,786 ****
  	 */
  	ReorderBufferXidSetCatalogChanges(builder->reorder, xid, lsn);
  
! 	ReorderBufferAddNewTupleCids(builder->reorder, xlrec->top_xid, lsn,
! 								 xlrec->target_node, xlrec->target_tid,
! 								 xlrec->cmin, xlrec->cmax,
! 								 xlrec->combocid);
  
  	/* figure out new command id */
  	if (xlrec->cmin != InvalidCommandId &&
--- 783,799 ----
  	 */
  	ReorderBufferXidSetCatalogChanges(builder->reorder, xid, lsn);
  
! 	top_xid = xlrec->top_xid;
! 	node = xlrec->target_node;
! 	tid = xlrec->target_tid;
! 	cmin = xlrec->cmin;
! 	cmax = xlrec->cmax;
! 	combocid = xlrec->combocid;
! 
! 	ReorderBufferAddNewTupleCids(builder->reorder, top_xid, lsn,
! 								 node, tid,
! 								 cmin, cmax,
! 								 combocid);
  
  	/* figure out new command id */
  	if (xlrec->cmin != InvalidCommandId &&
