Skip to content

Commit 559b6c7

Browse files
committed
Rename show_btree_build_stats to log_btree_build_stats
1 parent d36aa2e commit 559b6c7

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

src/backend/access/nbtree/nbtree.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
* Portions Copyright (c) 1994, Regents of the University of California
1313
*
1414
* IDENTIFICATION
15-
* $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtree.c,v 1.93 2002/10/20 20:47:31 tgl Exp $
15+
* $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtree.c,v 1.94 2002/11/15 01:26:08 momjian Exp $
1616
*
1717
*-------------------------------------------------------------------------
1818
*/
@@ -117,7 +117,7 @@ btbuild(PG_FUNCTION_ARGS)
117117
buildstate.indtuples = 0;
118118

119119
#ifdef BTREE_BUILD_STATS
120-
if (Show_btree_build_stats)
120+
if (log_btree_build_stats)
121121
ResetUsage();
122122
#endif /* BTREE_BUILD_STATS */
123123

@@ -169,7 +169,7 @@ btbuild(PG_FUNCTION_ARGS)
169169
}
170170

171171
#ifdef BTREE_BUILD_STATS
172-
if (Show_btree_build_stats)
172+
if (log_btree_build_stats)
173173
{
174174
ShowUsage("BTREE BUILD STATS");
175175
ResetUsage();

src/backend/access/nbtree/nbtsort.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
* Portions Copyright (c) 1994, Regents of the University of California
3636
*
3737
* IDENTIFICATION
38-
* $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtsort.c,v 1.69 2002/11/13 00:39:46 momjian Exp $
38+
* $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtsort.c,v 1.70 2002/11/15 01:26:08 momjian Exp $
3939
*
4040
*-------------------------------------------------------------------------
4141
*/
@@ -156,7 +156,7 @@ void
156156
_bt_leafbuild(BTSpool *btspool, BTSpool *btspool2)
157157
{
158158
#ifdef BTREE_BUILD_STATS
159-
if (Show_btree_build_stats)
159+
if (log_btree_build_stats)
160160
{
161161
ShowUsage("BTREE BUILD (Spool) STATISTICS");
162162
ResetUsage();

src/backend/utils/misc/guc.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* command, configuration file, and command line options.
66
* See src/backend/utils/misc/README for more information.
77
*
8-
* $Header: /cvsroot/pgsql/src/backend/utils/misc/guc.c,v 1.102 2002/11/15 00:47:22 momjian Exp $
8+
* $Header: /cvsroot/pgsql/src/backend/utils/misc/guc.c,v 1.103 2002/11/15 01:26:09 momjian Exp $
99
*
1010
* Copyright 2000 by PostgreSQL Global Development Group
1111
* Written by Peter Eisentraut <peter_e@gmx.net>.
@@ -91,7 +91,7 @@ bool log_planner_stats = false;
9191
bool log_executor_stats = false;
9292
bool log_statement_stats = false; /* this is sort of all
9393
* three above together */
94-
bool Show_btree_build_stats = false;
94+
bool log_btree_build_stats = false;
9595

9696
bool Explain_pretty_print = true;
9797

@@ -420,7 +420,7 @@ static struct config_bool
420420
},
421421
#ifdef BTREE_BUILD_STATS
422422
{
423-
{"show_btree_build_stats", PGC_SUSET}, &Show_btree_build_stats,
423+
{"log_btree_build_stats", PGC_SUSET}, &log_btree_build_stats,
424424
false, NULL, NULL
425425
},
426426
#endif

src/backend/utils/misc/postgresql.conf.sample

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@
158158
#log_statement_stats = false
159159

160160
# requires BTREE_BUILD_STATS
161-
#show_btree_build_stats = false
161+
#log_btree_build_stats = false
162162

163163

164164
#

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy