*** pgsql/src/backend/access/common/heaptuple.c 2009/01/01 17:23:34 1.125 --- pgsql/src/backend/access/common/heaptuple.c 2009/03/30 04:08:43 1.126 *************** *** 50,56 **** * * * IDENTIFICATION ! * $PostgreSQL: pgsql/src/backend/access/common/heaptuple.c,v 1.124 2008/11/14 01:57:41 alvherre Exp $ * *------------------------------------------------------------------------- */ --- 50,56 ---- * * * IDENTIFICATION ! * $PostgreSQL: pgsql/src/backend/access/common/heaptuple.c,v 1.125 2009/01/01 17:23:34 momjian Exp $ * *------------------------------------------------------------------------- */ *************** slot_getattr(TupleTableSlot *slot, int a *** 1183,1189 **** { if (tuple == NULL) /* internal error */ elog(ERROR, "cannot extract system attribute from virtual tuple"); ! if (slot->tts_mintuple) /* internal error */ elog(ERROR, "cannot extract system attribute from minimal tuple"); return heap_getsysattr(tuple, attnum, tupleDesc, isnull); } --- 1183,1189 ---- { if (tuple == NULL) /* internal error */ elog(ERROR, "cannot extract system attribute from virtual tuple"); ! if (tuple == &(slot->tts_minhdr)) /* internal error */ elog(ERROR, "cannot extract system attribute from minimal tuple"); return heap_getsysattr(tuple, attnum, tupleDesc, isnull); } *************** slot_attisnull(TupleTableSlot *slot, int *** 1369,1375 **** { if (tuple == NULL) /* internal error */ elog(ERROR, "cannot extract system attribute from virtual tuple"); ! if (slot->tts_mintuple) /* internal error */ elog(ERROR, "cannot extract system attribute from minimal tuple"); return heap_attisnull(tuple, attnum); } --- 1369,1375 ---- { if (tuple == NULL) /* internal error */ elog(ERROR, "cannot extract system attribute from virtual tuple"); ! if (tuple == &(slot->tts_minhdr)) /* internal error */ elog(ERROR, "cannot extract system attribute from minimal tuple"); return heap_attisnull(tuple, attnum); }