mirror of
https://github.com/postgres/postgres.git
synced 2025-06-14 18:42:34 +03:00
clean up debug flags.
This commit is contained in:
@ -7,7 +7,7 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.132 1999/10/08 04:28:45 momjian Exp $
|
* $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.133 1999/10/08 05:27:14 momjian Exp $
|
||||||
*
|
*
|
||||||
* NOTES
|
* NOTES
|
||||||
* this is the "main" module of the postgres backend and
|
* this is the "main" module of the postgres backend and
|
||||||
@ -1023,19 +1023,11 @@ PostgresMain(int argc, char *argv[], int real_argc, char *real_argv[])
|
|||||||
if (DebugLvl >= 2)
|
if (DebugLvl >= 2)
|
||||||
DebugPrintQuery = true;
|
DebugPrintQuery = true;
|
||||||
if (DebugLvl >= 3)
|
if (DebugLvl >= 3)
|
||||||
DebugPrintQuery = true ;
|
|
||||||
if (DebugLvl >= 4)
|
|
||||||
{
|
|
||||||
DebugPrintParse = true;
|
DebugPrintParse = true;
|
||||||
|
if (DebugLvl >= 4)
|
||||||
DebugPrintPlan = true;
|
DebugPrintPlan = true;
|
||||||
DebugPrintRewrittenParsetree = true;
|
|
||||||
}
|
|
||||||
if (DebugLvl >= 5)
|
if (DebugLvl >= 5)
|
||||||
{
|
|
||||||
DebugPPrintParse = true;
|
|
||||||
DebugPPrintPlan = true;
|
|
||||||
DebugPPrintRewrittenParsetree = true;
|
DebugPPrintRewrittenParsetree = true;
|
||||||
}
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'E':
|
case 'E':
|
||||||
@ -1508,7 +1500,7 @@ PostgresMain(int argc, char *argv[], int real_argc, char *real_argv[])
|
|||||||
if (!IsUnderPostmaster)
|
if (!IsUnderPostmaster)
|
||||||
{
|
{
|
||||||
puts("\nPOSTGRES backend interactive interface ");
|
puts("\nPOSTGRES backend interactive interface ");
|
||||||
puts("$Revision: 1.132 $ $Date: 1999/10/08 04:28:45 $\n");
|
puts("$Revision: 1.133 $ $Date: 1999/10/08 05:27:14 $\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Reference in New Issue
Block a user