From 86ef36c9078311d5ccba53c17702af0450b11e25 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Sun, 7 Nov 1999 23:08:36 +0000 Subject: New NameStr macro to convert Name to Str. No need for var.data anymore. Fewer calls to nameout. Better use of RelationGetRelationName. --- src/backend/commands/explain.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/backend/commands/explain.c') diff --git a/src/backend/commands/explain.c b/src/backend/commands/explain.c index 11e5c394239..99e4e45dd5c 100644 --- a/src/backend/commands/explain.c +++ b/src/backend/commands/explain.c @@ -4,7 +4,7 @@ * * Copyright (c) 1994-5, Regents of the University of California * - * $Id: explain.c,v 1.48 1999/09/18 19:06:40 tgl Exp $ + * $Id: explain.c,v 1.49 1999/11/07 23:08:02 momjian Exp $ * */ @@ -216,7 +216,7 @@ explain_outNode(StringInfo str, Plan *plan, int indent, ExplainState *es) if (++i > 1) appendStringInfo(str, ", "); appendStringInfo(str, - stringStringInfo((RelationGetRelationName(relation))->data)); + stringStringInfo(RelationGetRelationName(relation))); /* drop relcache refcount from RelationIdGetRelation */ RelationDecrementReferenceCount(relation); } -- cgit v1.2.3