From: Tom Lane Date: Fri, 29 Jun 2001 16:05:57 +0000 (+0000) Subject: Fix erroneous GUC variable references from commandline-GUC patch. X-Git-Tag: REL7_2_BETA1~952 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f889b12be93a83b7864eb1454a27cd145e8fe0ce;p=postgresql Fix erroneous GUC variable references from commandline-GUC patch. --- diff --git a/src/backend/postmaster/postmaster.c b/src/backend/postmaster/postmaster.c index 3b1a3a4207..1f02bf73a3 100644 --- a/src/backend/postmaster/postmaster.c +++ b/src/backend/postmaster/postmaster.c @@ -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); diff --git a/src/backend/tcop/postgres.c b/src/backend/tcop/postgres.c index 22e440cded..acf89356e8 100644 --- a/src/backend/tcop/postgres.c +++ b/src/backend/tcop/postgres.c @@ -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"); } /*