diff options
author | Bruce Momjian <bruce@momjian.us> | 1999-11-07 23:08:36 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 1999-11-07 23:08:36 +0000 |
commit | 86ef36c9078311d5ccba53c17702af0450b11e25 (patch) | |
tree | a37836f78c4328e4b3a3ad6308a3779725546525 /src/backend/commands/explain.c | |
parent | df723a8a8aa3326d2ade8ad846a296e2e2500a64 (diff) | |
download | postgresql-86ef36c9078311d5ccba53c17702af0450b11e25.tar.gz |
New NameStr macro to convert Name to Str. No need for var.data anymore.
Fewer calls to nameout.
Better use of RelationGetRelationName.
Diffstat (limited to 'src/backend/commands/explain.c')
-rw-r--r-- | src/backend/commands/explain.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/commands/explain.c b/src/backend/commands/explain.c index 11e5c39423..99e4e45dd5 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); } |