diff --git a/src/include/utils/psort.h b/src/include/utils/psort.h
index 5e1c97052da82d5f70672d41f7fba0ccaf28d2a6..9f4db17437e80fa9dcb75654def8b090ed4fa4d5 100644
--- a/src/include/utils/psort.h
+++ b/src/include/utils/psort.h
@@ -6,7 +6,7 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: psort.h,v 1.11 1997/09/15 14:29:01 vadim Exp $
+ * $Id: psort.h,v 1.12 1997/09/18 05:42:01 vadim Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -57,6 +57,8 @@ typedef struct Psortstate
 	int			tupcount;
 
 	struct leftist *Tuples;
+	int			lt_tupcount;
+	HeapTuple	lasttuple;
 
 	FILE	   *psort_grab_file;
 	long		psort_current;	/* could be file offset, or array index */