Rename show_btree_build_stats to log_btree_build_stats
This commit is contained in:
parent
d36aa2e885
commit
559b6c7ced
@ -12,7 +12,7 @@
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtree.c,v 1.93 2002/10/20 20:47:31 tgl Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtree.c,v 1.94 2002/11/15 01:26:08 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -117,7 +117,7 @@ btbuild(PG_FUNCTION_ARGS)
|
||||
buildstate.indtuples = 0;
|
||||
|
||||
#ifdef BTREE_BUILD_STATS
|
||||
if (Show_btree_build_stats)
|
||||
if (log_btree_build_stats)
|
||||
ResetUsage();
|
||||
#endif /* BTREE_BUILD_STATS */
|
||||
|
||||
@ -169,7 +169,7 @@ btbuild(PG_FUNCTION_ARGS)
|
||||
}
|
||||
|
||||
#ifdef BTREE_BUILD_STATS
|
||||
if (Show_btree_build_stats)
|
||||
if (log_btree_build_stats)
|
||||
{
|
||||
ShowUsage("BTREE BUILD STATS");
|
||||
ResetUsage();
|
||||
|
@ -35,7 +35,7 @@
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtsort.c,v 1.69 2002/11/13 00:39:46 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtsort.c,v 1.70 2002/11/15 01:26:08 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -156,7 +156,7 @@ void
|
||||
_bt_leafbuild(BTSpool *btspool, BTSpool *btspool2)
|
||||
{
|
||||
#ifdef BTREE_BUILD_STATS
|
||||
if (Show_btree_build_stats)
|
||||
if (log_btree_build_stats)
|
||||
{
|
||||
ShowUsage("BTREE BUILD (Spool) STATISTICS");
|
||||
ResetUsage();
|
||||
|
@ -5,7 +5,7 @@
|
||||
* command, configuration file, and command line options.
|
||||
* See src/backend/utils/misc/README for more information.
|
||||
*
|
||||
* $Header: /cvsroot/pgsql/src/backend/utils/misc/guc.c,v 1.102 2002/11/15 00:47:22 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/utils/misc/guc.c,v 1.103 2002/11/15 01:26:09 momjian Exp $
|
||||
*
|
||||
* Copyright 2000 by PostgreSQL Global Development Group
|
||||
* Written by Peter Eisentraut <peter_e@gmx.net>.
|
||||
@ -91,7 +91,7 @@ bool log_planner_stats = false;
|
||||
bool log_executor_stats = false;
|
||||
bool log_statement_stats = false; /* this is sort of all
|
||||
* three above together */
|
||||
bool Show_btree_build_stats = false;
|
||||
bool log_btree_build_stats = false;
|
||||
|
||||
bool Explain_pretty_print = true;
|
||||
|
||||
@ -420,7 +420,7 @@ static struct config_bool
|
||||
},
|
||||
#ifdef BTREE_BUILD_STATS
|
||||
{
|
||||
{"show_btree_build_stats", PGC_SUSET}, &Show_btree_build_stats,
|
||||
{"log_btree_build_stats", PGC_SUSET}, &log_btree_build_stats,
|
||||
false, NULL, NULL
|
||||
},
|
||||
#endif
|
||||
|
@ -158,7 +158,7 @@
|
||||
#log_statement_stats = false
|
||||
|
||||
# requires BTREE_BUILD_STATS
|
||||
#show_btree_build_stats = false
|
||||
#log_btree_build_stats = false
|
||||
|
||||
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user