mirror of
https://github.com/postgres/postgres.git
synced 2025-06-30 21:42:05 +03:00
MergeSort was sometimes called mergejoin and was confusing. Now
it is now only mergejoin.
This commit is contained in:
@ -7,7 +7,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/commands/explain.c,v 1.22 1998/08/04 15:00:26 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/commands/explain.c,v 1.23 1998/08/04 16:43:54 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -17,6 +17,7 @@
|
||||
#include <postgres.h>
|
||||
|
||||
#include <nodes/plannodes.h>
|
||||
#include <nodes/print.h>
|
||||
#include <tcop/tcopprot.h>
|
||||
#include <lib/stringinfo.h>
|
||||
#include <commands/explain.h>
|
||||
@ -81,10 +82,7 @@ ExplainQuery(Query *query, bool verbose, CommandDest dest)
|
||||
es->rtable = query->rtable;
|
||||
|
||||
if (es->printNodes)
|
||||
{
|
||||
pprint(plan); /* display in postmaster log file */
|
||||
s = nodeToString(plan);
|
||||
}
|
||||
|
||||
if (es->printCost)
|
||||
{
|
||||
@ -108,6 +106,9 @@ ExplainQuery(Query *query, bool verbose, CommandDest dest)
|
||||
elog(NOTICE, "%.*s", ELOG_MAXLEN - 64, s);
|
||||
len -= ELOG_MAXLEN - 64;
|
||||
}
|
||||
if (es->printNodes)
|
||||
pprint(plan); /* display in postmaster log file */
|
||||
|
||||
pfree(es);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user