index 96d6d6f2c02d011303d7340a3bf36955c3d49013..be389c647aa8460dc165e13efbef1ec39d55221a 100644 (file)
* Portions Copyright (c) 1994-5, Regents of the University of California
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/backend/access/heap/rewriteheap.c,v 1.3 2007年04月17日 21:29:31 tgl Exp $
+ * $PostgreSQL: pgsql/src/backend/access/heap/rewriteheap.c,v 1.4 2007年05月16日 16:36:56 alvherre Exp $
*
*-------------------------------------------------------------------------
*/
@@ -538,6 +538,8 @@ raw_heap_insert(RewriteState state, HeapTuple tup)
OffsetNumber newoff;
HeapTuple heaptup;
+ heap_freeze_tuple(tup->t_data, state->rs_oldest_xmin, InvalidBuffer);
+
/*
* If the new tuple is too big for storage or contains already toasted
* out-of-line attributes from some other relation, invoke the toaster.