diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2002-07-20 15:12:56 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2002-07-20 15:12:56 +0000 |
commit | c33a6343cdfa33ba4428f0e0791d9beb5336a187 (patch) | |
tree | 585476383c4fae9e6536771052ec791b6faa1a9f /src/backend/commands | |
parent | a58930bbd52c66f0de2194b40aef1a99ac9c95e2 (diff) | |
download | postgresql-c33a6343cdfa33ba4428f0e0791d9beb5336a187.tar.gz postgresql-c33a6343cdfa33ba4428f0e0791d9beb5336a187.zip |
Code review for SHOW output changes; fix horology expected files for
new SHOW output format.
Diffstat (limited to 'src/backend/commands')
-rw-r--r-- | src/backend/commands/explain.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/backend/commands/explain.c b/src/backend/commands/explain.c index 2f2178bf9a6..13cf272525c 100644 --- a/src/backend/commands/explain.c +++ b/src/backend/commands/explain.c @@ -5,7 +5,7 @@ * Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group * Portions Copyright (c) 1994-5, Regents of the University of California * - * $Header: /cvsroot/pgsql/src/backend/commands/explain.c,v 1.83 2002/07/20 06:17:43 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/commands/explain.c,v 1.84 2002/07/20 15:12:55 tgl Exp $ * */ @@ -79,7 +79,7 @@ ExplainQuery(ExplainStmt *stmt, CommandDest dest) if (query->commandType == CMD_UTILITY) { /* rewriter will not cope with utility statements */ - PROJECT_LINE_OF_TEXT("Utility statements have no plan structure"); + PROJECT_LINE_OF_TEXT(tstate, "Utility statements have no plan structure"); } else { @@ -89,7 +89,7 @@ ExplainQuery(ExplainStmt *stmt, CommandDest dest) if (rewritten == NIL) { /* In the case of an INSTEAD NOTHING, tell at least that */ - PROJECT_LINE_OF_TEXT("Query rewrites to nothing"); + PROJECT_LINE_OF_TEXT(tstate, "Query rewrites to nothing"); } else { @@ -99,7 +99,7 @@ ExplainQuery(ExplainStmt *stmt, CommandDest dest) ExplainOneQuery(lfirst(l), stmt, tstate); /* put a blank line between plans */ if (lnext(l) != NIL) - PROJECT_LINE_OF_TEXT(""); + PROJECT_LINE_OF_TEXT(tstate, ""); } } } @@ -122,9 +122,9 @@ ExplainOneQuery(Query *query, ExplainStmt *stmt, TupOutputState *tstate) if (query->commandType == CMD_UTILITY) { if (query->utilityStmt && IsA(query->utilityStmt, NotifyStmt)) - PROJECT_LINE_OF_TEXT("NOTIFY"); + PROJECT_LINE_OF_TEXT(tstate, "NOTIFY"); else - PROJECT_LINE_OF_TEXT("UTILITY"); + PROJECT_LINE_OF_TEXT(tstate, "UTILITY"); return; } @@ -189,7 +189,7 @@ ExplainOneQuery(Query *query, ExplainStmt *stmt, TupOutputState *tstate) do_text_output_multiline(tstate, f); pfree(f); if (es->printCost) - PROJECT_LINE_OF_TEXT(""); /* separator line */ + PROJECT_LINE_OF_TEXT(tstate, ""); /* separator line */ } } |