]> granicus.if.org Git - postgresql/commitdiff
Fix erroneous GUC variable references from commandline-GUC patch.
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 29 Jun 2001 16:05:57 +0000 (16:05 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 29 Jun 2001 16:05:57 +0000 (16:05 +0000)
src/backend/postmaster/postmaster.c
src/backend/tcop/postgres.c

index 3b1a3a42079b27a0229560881640ced046e8d80f..1f02bf73a39a0cf26e1fe3258e0cd2d5e53933c1 100644 (file)
@@ -37,7 +37,7 @@
  *
  *
  * IDENTIFICATION
- *       $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.228 2001/06/25 22:56:05 tgl Exp $
+ *       $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.229 2001/06/29 16:05:57 tgl Exp $
  *
  * NOTES
  *
@@ -428,10 +428,10 @@ PostmasterMain(int argc, char *argv[])
                switch (opt)
                {
                        case 'A':
-#ifndef USE_ASSERT_CHECKING
-                               postmaster_error("Assert checking is not compiled in.");
-#else
+#ifdef USE_ASSERT_CHECKING
                                SetConfigOption("debug_assertions", optarg, PGC_POSTMASTER, true);
+#else
+                               postmaster_error("Assert checking is not compiled in.");
 #endif
                                break;
                        case 'a':
@@ -454,7 +454,7 @@ PostmasterMain(int argc, char *argv[])
                                SetConfigOption("debug_level", optarg, PGC_POSTMASTER, true);
                                break;
                        case 'F':
-                               SetConfigOption("enable_fsync", "false", PGC_POSTMASTER, true);
+                               SetConfigOption("fsync", "false", PGC_POSTMASTER, true);
                                break;
                        case 'h':
                                SetConfigOption("virtual_host", optarg, PGC_POSTMASTER, true);
index 22e440cded786802e9207312f0ed644eb4b57578..acf89356e80781874e3eaf85d829440d3687a8ef 100644 (file)
@@ -8,7 +8,7 @@
  *
  *
  * IDENTIFICATION
- *       $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.226 2001/06/25 22:56:04 tgl Exp $
+ *       $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.227 2001/06/29 16:05:56 tgl Exp $
  *
  * NOTES
  *       this is the "main" module of the postgres backend and
@@ -1398,7 +1398,7 @@ PostgresMain(int argc, char *argv[], int real_argc, char *real_argv[], const cha
                                                        errs++;
                                                break;
                                        case 'e':
-                                               tmp = "show_parser_stats";
+                                               tmp = "show_executor_stats";
                                                break;
                                        default:
                                                errs++;
@@ -1714,7 +1714,7 @@ PostgresMain(int argc, char *argv[], int real_argc, char *real_argv[], const cha
        if (!IsUnderPostmaster)
        {
                puts("\nPOSTGRES backend interactive interface ");
-               puts("$Revision: 1.226 $ $Date: 2001/06/25 22:56:04 $\n");
+               puts("$Revision: 1.227 $ $Date: 2001/06/29 16:05:56 $\n");
        }
 
        /*