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
c52204b2
Commit
c52204b2
authored
Nov 24, 2003
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Repair missed renamings of show_statement_stats and show_executor_stats.
parent
8878cc4c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
9 deletions
+9
-9
doc/src/sgml/func.sgml
doc/src/sgml/func.sgml
+2
-2
doc/src/sgml/runtime.sgml
doc/src/sgml/runtime.sgml
+2
-2
src/backend/tcop/postgres.c
src/backend/tcop/postgres.c
+5
-5
No files found.
doc/src/sgml/func.sgml
View file @
c52204b2
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/func.sgml,v 1.17
8 2003/11/04 09:55:38 petere
Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/func.sgml,v 1.17
9 2003/11/24 14:49:51 tgl
Exp $
PostgreSQL documentation
-->
...
...
@@ -6668,7 +6668,7 @@ SELECT current_setting('datestyle');
<literal>false</literal> instead. The function corresponds to the
SQL command <command>SET</command>. An example:
<programlisting>
SELECT set_config('
show
_statement_stats', 'off', false);
SELECT set_config('
log
_statement_stats', 'off', false);
set_config
------------
...
...
doc/src/sgml/runtime.sgml
View file @
c52204b2
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/runtime.sgml,v 1.22
1 2003/11/16 17:01:50
tgl Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/runtime.sgml,v 1.22
2 2003/11/24 14:49:51
tgl Exp $
-->
<Chapter Id="runtime">
...
...
@@ -2677,7 +2677,7 @@ $ <userinput>postmaster -o '-S 1024 -s'</userinput>
<row>
<entry><option>-s</option><footnoteref linkend="fn.runtime-config-short"></entry>
<entry><literal>
show
_statement_stats = on</></entry>
<entry><literal>
log
_statement_stats = on</></entry>
</row>
<row>
...
...
src/backend/tcop/postgres.c
View file @
c52204b2
...
...
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.37
5 2003/10/19 23:43
:51 tgl Exp $
* $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.37
6 2003/11/24 14:49
:51 tgl Exp $
*
* NOTES
* this is the "main" module of the postgres backend and
...
...
@@ -2312,7 +2312,7 @@ PostgresMain(int argc, char *argv[], const char *username)
/*
* s - report usage statistics (timings) after each query
*/
SetConfigOption
(
"
show
_statement_stats"
,
"true"
,
ctx
,
gucsource
);
SetConfigOption
(
"
log
_statement_stats"
,
"true"
,
ctx
,
gucsource
);
break
;
case
't'
:
...
...
@@ -2338,7 +2338,7 @@ PostgresMain(int argc, char *argv[], const char *username)
errs
++
;
break
;
case
'e'
:
tmp
=
"
show
_executor_stats"
;
tmp
=
"
log
_executor_stats"
;
break
;
default:
errs
++
;
...
...
@@ -2473,7 +2473,7 @@ PostgresMain(int argc, char *argv[], const char *username)
ereport
(
WARNING
,
(
errcode
(
ERRCODE_INVALID_PARAMETER_VALUE
),
errmsg
(
"statement-level statistics are disabled because parser, planner, or executor statistics are on"
)));
SetConfigOption
(
"
show
_statement_stats"
,
"false"
,
ctx
,
gucsource
);
SetConfigOption
(
"
log
_statement_stats"
,
"false"
,
ctx
,
gucsource
);
}
if
(
!
IsUnderPostmaster
)
...
...
@@ -2659,7 +2659,7 @@ PostgresMain(int argc, char *argv[], const char *username)
if
(
!
IsUnderPostmaster
)
{
puts
(
"
\n
POSTGRES backend interactive interface "
);
puts
(
"$Revision: 1.37
5 $ $Date: 2003/10/19 23:43
:51 $
\n
"
);
puts
(
"$Revision: 1.37
6 $ $Date: 2003/11/24 14:49
:51 $
\n
"
);
}
/*
...
...
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