Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit c52204b

Browse files
committed
Repair missed renamings of show_statement_stats and show_executor_stats.
1 parent 8878cc4 commit c52204b

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

doc/src/sgml/func.sgml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$Header: /cvsroot/pgsql/doc/src/sgml/func.sgml,v 1.178 2003/11/04 09:55:38 petere Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/func.sgml,v 1.179 2003/11/24 14:49:51 tgl Exp $
33
PostgreSQL documentation
44
-->
55

@@ -6668,7 +6668,7 @@ SELECT current_setting('datestyle');
66686668
<literal>false</literal> instead. The function corresponds to the
66696669
SQL command <command>SET</command>. An example:
66706670
<programlisting>
6671-
SELECT set_config('show_statement_stats', 'off', false);
6671+
SELECT set_config('log_statement_stats', 'off', false);
66726672

66736673
set_config
66746674
------------

doc/src/sgml/runtime.sgml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$Header: /cvsroot/pgsql/doc/src/sgml/runtime.sgml,v 1.221 2003/11/16 17:01:50 tgl Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/runtime.sgml,v 1.222 2003/11/24 14:49:51 tgl Exp $
33
-->
44

55
<Chapter Id="runtime">
@@ -2677,7 +2677,7 @@ $ <userinput>postmaster -o '-S 1024 -s'</userinput>
26772677

26782678
<row>
26792679
<entry><option>-s</option><footnoteref linkend="fn.runtime-config-short"></entry>
2680-
<entry><literal>show_statement_stats = on</></entry>
2680+
<entry><literal>log_statement_stats = on</></entry>
26812681
</row>
26822682

26832683
<row>

src/backend/tcop/postgres.c

+5-5
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.375 2003/10/19 23:43:51 tgl Exp $
11+
* $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.376 2003/11/24 14:49:51 tgl Exp $
1212
*
1313
* NOTES
1414
* this is the "main" module of the postgres backend and
@@ -2312,7 +2312,7 @@ PostgresMain(int argc, char *argv[], const char *username)
23122312
/*
23132313
* s - report usage statistics (timings) after each query
23142314
*/
2315-
SetConfigOption("show_statement_stats", "true", ctx, gucsource);
2315+
SetConfigOption("log_statement_stats", "true", ctx, gucsource);
23162316
break;
23172317

23182318
case 't':
@@ -2338,7 +2338,7 @@ PostgresMain(int argc, char *argv[], const char *username)
23382338
errs++;
23392339
break;
23402340
case 'e':
2341-
tmp = "show_executor_stats";
2341+
tmp = "log_executor_stats";
23422342
break;
23432343
default:
23442344
errs++;
@@ -2473,7 +2473,7 @@ PostgresMain(int argc, char *argv[], const char *username)
24732473
ereport(WARNING,
24742474
(errcode(ERRCODE_INVALID_PARAMETER_VALUE),
24752475
errmsg("statement-level statistics are disabled because parser, planner, or executor statistics are on")));
2476-
SetConfigOption("show_statement_stats", "false", ctx, gucsource);
2476+
SetConfigOption("log_statement_stats", "false", ctx, gucsource);
24772477
}
24782478

24792479
if (!IsUnderPostmaster)
@@ -2659,7 +2659,7 @@ PostgresMain(int argc, char *argv[], const char *username)
26592659
if (!IsUnderPostmaster)
26602660
{
26612661
puts("\nPOSTGRES backend interactive interface ");
2662-
puts("$Revision: 1.375 $ $Date: 2003/10/19 23:43:51 $\n");
2662+
puts("$Revision: 1.376 $ $Date: 2003/11/24 14:49:51 $\n");
26632663
}
26642664

26652665
/*

0 commit comments

Comments
 (0)