Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
559b6c7c
Commit
559b6c7c
authored
Nov 15, 2002
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename show_btree_build_stats to log_btree_build_stats
parent
d36aa2e8
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
9 deletions
+9
-9
src/backend/access/nbtree/nbtree.c
src/backend/access/nbtree/nbtree.c
+3
-3
src/backend/access/nbtree/nbtsort.c
src/backend/access/nbtree/nbtsort.c
+2
-2
src/backend/utils/misc/guc.c
src/backend/utils/misc/guc.c
+3
-3
src/backend/utils/misc/postgresql.conf.sample
src/backend/utils/misc/postgresql.conf.sample
+1
-1
No files found.
src/backend/access/nbtree/nbtree.c
View file @
559b6c7c
...
...
@@ -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.9
3 2002/10/20 20:47:31 tgl
Exp $
* $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtree.c,v 1.9
4 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
();
...
...
src/backend/access/nbtree/nbtsort.c
View file @
559b6c7c
...
...
@@ -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
();
...
...
src/backend/utils/misc/guc.c
View file @
559b6c7c
...
...
@@ -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.10
2 2002/11/15 00:47:22
momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/misc/guc.c,v 1.10
3 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
...
...
src/backend/utils/misc/postgresql.conf.sample
View file @
559b6c7c
...
...
@@ -158,7 +158,7 @@
#log_statement_stats = false
# requires BTREE_BUILD_STATS
#
show
_btree_build_stats = false
#
log
_btree_build_stats = false
#
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment