diff options
Diffstat (limited to 'src/backend/nodes/print.c')
-rw-r--r-- | src/backend/nodes/print.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/backend/nodes/print.c b/src/backend/nodes/print.c index 2b6d3203440..e62d731a6cf 100644 --- a/src/backend/nodes/print.c +++ b/src/backend/nodes/print.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/nodes/print.c,v 1.72 2004/12/31 21:59:55 pgsql Exp $ + * $PostgreSQL: pgsql/src/backend/nodes/print.c,v 1.73 2005/03/16 21:38:08 tgl Exp $ * * HISTORY * AUTHOR DATE MAJOR EVENT @@ -468,18 +468,18 @@ print_tl(List *tlist, List *rtable) void print_slot(TupleTableSlot *slot) { - if (!slot->val) + if (TupIsNull(slot)) { printf("tuple is null.\n"); return; } - if (!slot->ttc_tupleDescriptor) + if (!slot->tts_tupleDescriptor) { printf("no tuple descriptor.\n"); return; } - debugtup(slot->val, slot->ttc_tupleDescriptor, NULL); + debugtup(slot, NULL); } static char * |