Repair missed renamings of show_statement_stats and show_executor_stats.
authorTom Lane <[email protected]>
Mon, 24 Nov 2003 14:50:02 +0000 (14:50 +0000)
committerTom Lane <[email protected]>
Mon, 24 Nov 2003 14:50:02 +0000 (14:50 +0000)
doc/src/sgml/func.sgml
doc/src/sgml/runtime.sgml
src/backend/tcop/postgres.c

index 6e1444969c7e044c41d48bdd7b07a06dce4e5259..adf97e39d370fb908ef38680c2986518af64bee9 100644 (file)
@@ -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
 ------------
index 796af86a462f8e9e951610c290c61f32f0655367..51c1e47e548bdebc9343575889d311ec12085949 100644 (file)
@@ -2675,7 +2675,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>
index b9555c0c04ec46d6fbb863c2c6f6a0b1ab760cab..3dff209395dca469315ee04310e990755ae920ec 100644 (file)
@@ -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("\nPOSTGRES backend interactive interface ");
-               puts("$Revision: 1.375 $ $Date: 2003/10/19 23:43:51 $\n");
+               puts("$Revision: 1.375.2.1 $ $Date: 2003/11/24 14:50:02 $\n");
        }
 
        /*