OSDN Git Service

Reduce a couple of debugging messages from LOG to DEBUG1 category.
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 1 Nov 2002 19:33:09 +0000 (19:33 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 1 Nov 2002 19:33:09 +0000 (19:33 +0000)
src/backend/executor/nodeAgg.c
src/backend/executor/nodeAppend.c
src/backend/optimizer/path/indxpath.c

index 36ded53..bf4a9bb 100644 (file)
@@ -46,7 +46,7 @@
  * Portions Copyright (c) 1994, Regents of the University of California
  *
  * IDENTIFICATION
- *       $Header: /cvsroot/pgsql/src/backend/executor/nodeAgg.c,v 1.89 2002/10/04 17:19:55 tgl Exp $
+ *       $Header: /cvsroot/pgsql/src/backend/executor/nodeAgg.c,v 1.90 2002/11/01 19:33:09 tgl Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -771,7 +771,7 @@ ExecInitAgg(Agg *node, EState *estate, Plan *parent)
                 * So, just make a debug note, and force numaggs positive so that
                 * palloc()s below don't choke.
                 */
-               elog(LOG, "ExecInitAgg: could not find any aggregate functions");
+               elog(DEBUG1, "ExecInitAgg: could not find any aggregate functions");
                numaggs = 1;
        }
 
index 8bc7136..6100496 100644 (file)
@@ -8,7 +8,7 @@
  *
  *
  * IDENTIFICATION
- *       $Header: /cvsroot/pgsql/src/backend/executor/nodeAppend.c,v 1.46 2002/09/02 01:05:05 tgl Exp $
+ *       $Header: /cvsroot/pgsql/src/backend/executor/nodeAppend.c,v 1.47 2002/11/01 19:33:09 tgl Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -292,7 +292,7 @@ ExecProcAppend(Append *node)
        subnode = (Plan *) nth(whichplan, appendplans);
 
        if (subnode == NULL)
-               elog(LOG, "ExecProcAppend: subnode is NULL");
+               elog(DEBUG1, "ExecProcAppend: subnode is NULL");
 
        /*
         * get a tuple from the subplan
index cfd20e8..2dab5e5 100644 (file)
@@ -9,7 +9,7 @@
  *
  *
  * IDENTIFICATION
- *       $Header: /cvsroot/pgsql/src/backend/optimizer/path/indxpath.c,v 1.123 2002/09/18 21:35:21 tgl Exp $
+ *       $Header: /cvsroot/pgsql/src/backend/optimizer/path/indxpath.c,v 1.124 2002/11/01 19:33:09 tgl Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -1226,7 +1226,7 @@ pred_test_simple_clause(Expr *predicate, Node *clause)
        if (!HeapTupleIsValid(tuple))
        {
                /* this probably shouldn't fail? */
-               elog(LOG, "pred_test_simple_clause: unknown test_op");
+               elog(DEBUG1, "pred_test_simple_clause: unknown test_op");
                return false;
        }
        aform = (Form_pg_amop) GETSTRUCT(tuple);
@@ -1255,7 +1255,7 @@ pred_test_simple_clause(Expr *predicate, Node *clause)
 
        if (isNull)
        {
-               elog(LOG, "pred_test_simple_clause: null test result");
+               elog(DEBUG1, "pred_test_simple_clause: null test result");
                return false;
        }
        return DatumGetBool(test_result);