Skip to content

Commit 1011fb6

Browse files
committed
Suppress duplicate logging of utility commands under debug_print_query.
1 parent 1944bff commit 1011fb6

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

src/backend/tcop/postgres.c

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.263 2002/05/05 00:03:28 tgl Exp $
11+
* $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.264 2002/05/10 20:22:13 tgl Exp $
1212
*
1313
* NOTES
1414
* this is the "main" module of the postgres backend and
@@ -729,9 +729,7 @@ pg_exec_query_string(StringInfo query_string, /* string to execute */
729729
/*
730730
* process utility functions (create, destroy, etc..)
731731
*/
732-
if (Debug_print_query)
733-
elog(LOG, "ProcessUtility: %s", query_string->data);
734-
else elog(DEBUG2, "ProcessUtility");
732+
elog(DEBUG2, "ProcessUtility");
735733

736734
if (querytree->originalQuery)
737735
{
@@ -1693,7 +1691,7 @@ PostgresMain(int argc, char *argv[], const char *username)
16931691
if (!IsUnderPostmaster)
16941692
{
16951693
puts("\nPOSTGRES backend interactive interface ");
1696-
puts("$Revision: 1.263 $ $Date: 2002/05/05 00:03:28 $\n");
1694+
puts("$Revision: 1.264 $ $Date: 2002/05/10 20:22:13 $\n");
16971695
}
16981696

16991697
/*

0 commit comments

Comments
 (0)