Commit 1011fb65 authored by Tom Lane's avatar Tom Lane

Suppress duplicate logging of utility commands under debug_print_query.

parent 1944bff1
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.263 2002/05/05 00:03:28 tgl Exp $ * $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.264 2002/05/10 20:22:13 tgl Exp $
* *
* NOTES * NOTES
* this is the "main" module of the postgres backend and * this is the "main" module of the postgres backend and
...@@ -729,9 +729,7 @@ pg_exec_query_string(StringInfo query_string, /* string to execute */ ...@@ -729,9 +729,7 @@ pg_exec_query_string(StringInfo query_string, /* string to execute */
/* /*
* process utility functions (create, destroy, etc..) * process utility functions (create, destroy, etc..)
*/ */
if (Debug_print_query) elog(DEBUG2, "ProcessUtility");
elog(LOG, "ProcessUtility: %s", query_string->data);
else elog(DEBUG2, "ProcessUtility");
if (querytree->originalQuery) if (querytree->originalQuery)
{ {
...@@ -1693,7 +1691,7 @@ PostgresMain(int argc, char *argv[], const char *username) ...@@ -1693,7 +1691,7 @@ PostgresMain(int argc, char *argv[], const char *username)
if (!IsUnderPostmaster) if (!IsUnderPostmaster)
{ {
puts("\nPOSTGRES backend interactive interface "); puts("\nPOSTGRES backend interactive interface ");
puts("$Revision: 1.263 $ $Date: 2002/05/05 00:03:28 $\n"); puts("$Revision: 1.264 $ $Date: 2002/05/10 20:22:13 $\n");
} }
/* /*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment