Commit c52204b2 authored by Tom Lane's avatar Tom Lane

Repair missed renamings of show_statement_stats and show_executor_stats.

parent 8878cc4c
<!-- <!--
$Header: /cvsroot/pgsql/doc/src/sgml/func.sgml,v 1.178 2003/11/04 09:55:38 petere Exp $ $Header: /cvsroot/pgsql/doc/src/sgml/func.sgml,v 1.179 2003/11/24 14:49:51 tgl Exp $
PostgreSQL documentation PostgreSQL documentation
--> -->
...@@ -6668,7 +6668,7 @@ SELECT current_setting('datestyle'); ...@@ -6668,7 +6668,7 @@ SELECT current_setting('datestyle');
<literal>false</literal> instead. The function corresponds to the <literal>false</literal> instead. The function corresponds to the
SQL command <command>SET</command>. An example: SQL command <command>SET</command>. An example:
<programlisting> <programlisting>
SELECT set_config('show_statement_stats', 'off', false); SELECT set_config('log_statement_stats', 'off', false);
set_config set_config
------------ ------------
......
<!-- <!--
$Header: /cvsroot/pgsql/doc/src/sgml/runtime.sgml,v 1.221 2003/11/16 17:01:50 tgl Exp $ $Header: /cvsroot/pgsql/doc/src/sgml/runtime.sgml,v 1.222 2003/11/24 14:49:51 tgl Exp $
--> -->
<Chapter Id="runtime"> <Chapter Id="runtime">
...@@ -2677,7 +2677,7 @@ $ <userinput>postmaster -o '-S 1024 -s'</userinput> ...@@ -2677,7 +2677,7 @@ $ <userinput>postmaster -o '-S 1024 -s'</userinput>
<row> <row>
<entry><option>-s</option><footnoteref linkend="fn.runtime-config-short"></entry> <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>
<row> <row>
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.375 2003/10/19 23:43:51 tgl Exp $ * $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.376 2003/11/24 14:49:51 tgl Exp $
* *
* NOTES * NOTES
* this is the "main" module of the postgres backend and * this is the "main" module of the postgres backend and
...@@ -2312,7 +2312,7 @@ PostgresMain(int argc, char *argv[], const char *username) ...@@ -2312,7 +2312,7 @@ PostgresMain(int argc, char *argv[], const char *username)
/* /*
* s - report usage statistics (timings) after each query * s - report usage statistics (timings) after each query
*/ */
SetConfigOption("show_statement_stats", "true", ctx, gucsource); SetConfigOption("log_statement_stats", "true", ctx, gucsource);
break; break;
case 't': case 't':
...@@ -2338,7 +2338,7 @@ PostgresMain(int argc, char *argv[], const char *username) ...@@ -2338,7 +2338,7 @@ PostgresMain(int argc, char *argv[], const char *username)
errs++; errs++;
break; break;
case 'e': case 'e':
tmp = "show_executor_stats"; tmp = "log_executor_stats";
break; break;
default: default:
errs++; errs++;
...@@ -2473,7 +2473,7 @@ PostgresMain(int argc, char *argv[], const char *username) ...@@ -2473,7 +2473,7 @@ PostgresMain(int argc, char *argv[], const char *username)
ereport(WARNING, ereport(WARNING,
(errcode(ERRCODE_INVALID_PARAMETER_VALUE), (errcode(ERRCODE_INVALID_PARAMETER_VALUE),
errmsg("statement-level statistics are disabled because parser, planner, or executor statistics are on"))); 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) if (!IsUnderPostmaster)
...@@ -2659,7 +2659,7 @@ PostgresMain(int argc, char *argv[], const char *username) ...@@ -2659,7 +2659,7 @@ PostgresMain(int argc, char *argv[], const char *username)
if (!IsUnderPostmaster) if (!IsUnderPostmaster)
{ {
puts("\nPOSTGRES backend interactive interface "); puts("\nPOSTGRES backend interactive interface ");
puts("$Revision: 1.375 $ $Date: 2003/10/19 23:43:51 $\n"); puts("$Revision: 1.376 $ $Date: 2003/11/24 14:49:51 $\n");
} }
/* /*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment