From: Tom Lane Date: Fri, 10 May 2002 20:22:13 +0000 (+0000) Subject: Suppress duplicate logging of utility commands under debug_print_query. X-Git-Tag: REL7_3~1543 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1011fb651d83932805bfbbad35c2b49490e5b739;p=postgresql Suppress duplicate logging of utility commands under debug_print_query. --- diff --git a/src/backend/tcop/postgres.c b/src/backend/tcop/postgres.c index 75b740115c..eaf626ace9 100644 --- a/src/backend/tcop/postgres.c +++ b/src/backend/tcop/postgres.c @@ -8,7 +8,7 @@ * * * 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 * this is the "main" module of the postgres backend and @@ -729,9 +729,7 @@ pg_exec_query_string(StringInfo query_string, /* string to execute */ /* * process utility functions (create, destroy, etc..) */ - if (Debug_print_query) - elog(LOG, "ProcessUtility: %s", query_string->data); - else elog(DEBUG2, "ProcessUtility"); + elog(DEBUG2, "ProcessUtility"); if (querytree->originalQuery) { @@ -1693,7 +1691,7 @@ PostgresMain(int argc, char *argv[], const char *username) if (!IsUnderPostmaster) { 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"); } /*