* Portions Copyright (c) 1994, Regents of the University of California
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/access/common/printtup.c,v 1.73 2003/05/13 18:39:50 tgl Exp $
+ * $Header: /cvsroot/pgsql/src/backend/access/common/printtup.c,v 1.74 2003/05/26 17:51:38 tgl Exp $
*
*-------------------------------------------------------------------------
*/
{
DR_printtup *myState = (DR_printtup *) self;
StringInfoData buf;
- int natts = tuple->t_data->t_natts;
+ int natts = typeinfo->natts;
int i;
/* Set or update my derived attribute info, if needed */
{
DR_printtup *myState = (DR_printtup *) self;
StringInfoData buf;
- int natts = tuple->t_data->t_natts;
+ int natts = typeinfo->natts;
int i,
j,
k;
void
debugtup(HeapTuple tuple, TupleDesc typeinfo, DestReceiver *self)
{
- int natts = tuple->t_data->t_natts;
+ int natts = typeinfo->natts;
int i;
Datum origattr,
attr;
{
DR_printtup *myState = (DR_printtup *) self;
StringInfoData buf;
- int natts = tuple->t_data->t_natts;
+ int natts = typeinfo->natts;
int i,
j,
k;