mirror of
https://github.com/postgres/postgres.git
synced 2025-06-30 21:42:05 +03:00
Infrastructure for upgraded error reporting mechanism. elog.c is
rewritten and the protocol is changed, but most elog calls are still elog calls. Also, we need to contemplate mechanisms for controlling all this functionality --- eg, how much stuff should appear in the postmaster log? And what API should libpq expose for it?
This commit is contained in:
@ -7,7 +7,7 @@
|
||||
* Portions Copyright (c) 1994-5, Regents of the University of California
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/commands/explain.c,v 1.105 2003/04/03 22:35:48 tgl Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/commands/explain.c,v 1.106 2003/04/24 21:16:42 tgl Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -320,7 +320,7 @@ explain_outNode(StringInfo str,
|
||||
|
||||
if (plan == NULL)
|
||||
{
|
||||
appendStringInfo(str, "\n");
|
||||
appendStringInfoChar(str, '\n');
|
||||
return;
|
||||
}
|
||||
|
||||
@ -476,13 +476,13 @@ explain_outNode(StringInfo str,
|
||||
break;
|
||||
}
|
||||
|
||||
appendStringInfo(str, pname);
|
||||
appendStringInfoString(str, pname);
|
||||
switch (nodeTag(plan))
|
||||
{
|
||||
case T_IndexScan:
|
||||
if (ScanDirectionIsBackward(((IndexScan *) plan)->indxorderdir))
|
||||
appendStringInfo(str, " Backward");
|
||||
appendStringInfo(str, " using ");
|
||||
appendStringInfoString(str, " Backward");
|
||||
appendStringInfoString(str, " using ");
|
||||
i = 0;
|
||||
foreach(l, ((IndexScan *) plan)->indxid)
|
||||
{
|
||||
@ -590,7 +590,7 @@ explain_outNode(StringInfo str,
|
||||
appendStringInfo(str, " (never executed)");
|
||||
}
|
||||
}
|
||||
appendStringInfo(str, "\n");
|
||||
appendStringInfoChar(str, '\n');
|
||||
|
||||
/* quals, sort keys, etc */
|
||||
switch (nodeTag(plan))
|
||||
|
Reference in New Issue
Block a user