*** analyze.c.orig	2013-04-26 10:40:06.634942283 +1200
--- analyze.c	2013-04-26 11:36:13.537404101 +1200
***************
*** 1173,1183 ****
  					 * has to adjust the numbers we send to the stats
  					 * collector to make this come out right.)
  					 */
! 					if (TransactionIdIsCurrentTransactionId(HeapTupleHeaderGetXmin(targtuple.t_data)))
! 					{
! 						sample_it = true;
! 						liverows += 1;
! 					}
  					break;
  
  				case HEAPTUPLE_DELETE_IN_PROGRESS:
--- 1173,1181 ----
  					 * has to adjust the numbers we send to the stats
  					 * collector to make this come out right.)
  					 */
! 					/* Amend so insert in progress tuples are counted */
! 					sample_it = true;
! 					liverows += 1;
  					break;
  
  				case HEAPTUPLE_DELETE_IN_PROGRESS:
