Repair missed renamings of show_statement_stats and show_executor_stats.
authorTom Lane
Mon, 24 Nov 2003 14:49:51 +0000 (14:49 +0000)
committerTom Lane
Mon, 24 Nov 2003 14:49:51 +0000 (14:49 +0000)
doc/src/sgml/func.sgml
doc/src/sgml/runtime.sgml
src/backend/tcop/postgres.c

index cf1c1a1613057563faafdd69f15090369b195d4d..a4bcb2fcfcbce54fed311df3f0951ad17af68d08 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -6668,7 +6668,7 @@ SELECT current_setting('datestyle');
     false instead. The function corresponds to the
     SQL command SET. An example:
 
-SELECT set_config('show_statement_stats', 'off', false);
+SELECT set_config('log_statement_stats', 'off', false);
 
  set_config
 ------------
index 346b7cd0c63d8349fdbb19fd2299606489988b57..6f29b606317b1b31054b9145afe25f436b6a7384 100644 (file)
@@ -1,5 +1,5 @@
 
 
 
@@ -2677,7 +2677,7 @@ $ postmaster -o '-S 1024 -s'
 
        
         
-        show_statement_stats = on
+        log_statement_stats = on
        
 
        
index 1cf8dc30ae9655c1e97054d8e0f4086dbdf31bfc..e5dc06d5388d39c754b7be40769174020a631e15 100644 (file)
@@ -8,7 +8,7 @@
  *
  *
  * 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
  *   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("\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");
    }
 
    /*