Fix erroneous GUC variable references from commandline-GUC patch.

This commit is contained in:
Tom Lane 2001-06-29 16:05:57 +00:00
parent fb2c3289ff
commit f889b12be9
2 changed files with 8 additions and 8 deletions

View File

@ -37,7 +37,7 @@
* *
* *
* IDENTIFICATION * 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 * NOTES
* *
@ -428,10 +428,10 @@ PostmasterMain(int argc, char *argv[])
switch (opt) switch (opt)
{ {
case 'A': case 'A':
#ifndef USE_ASSERT_CHECKING #ifdef USE_ASSERT_CHECKING
postmaster_error("Assert checking is not compiled in.");
#else
SetConfigOption("debug_assertions", optarg, PGC_POSTMASTER, true); SetConfigOption("debug_assertions", optarg, PGC_POSTMASTER, true);
#else
postmaster_error("Assert checking is not compiled in.");
#endif #endif
break; break;
case 'a': case 'a':
@ -454,7 +454,7 @@ PostmasterMain(int argc, char *argv[])
SetConfigOption("debug_level", optarg, PGC_POSTMASTER, true); SetConfigOption("debug_level", optarg, PGC_POSTMASTER, true);
break; break;
case 'F': case 'F':
SetConfigOption("enable_fsync", "false", PGC_POSTMASTER, true); SetConfigOption("fsync", "false", PGC_POSTMASTER, true);
break; break;
case 'h': case 'h':
SetConfigOption("virtual_host", optarg, PGC_POSTMASTER, true); SetConfigOption("virtual_host", optarg, PGC_POSTMASTER, true);

View File

@ -8,7 +8,7 @@
* *
* *
* IDENTIFICATION * 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 * NOTES
* this is the "main" module of the postgres backend and * 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++; errs++;
break; break;
case 'e': case 'e':
tmp = "show_parser_stats"; tmp = "show_executor_stats";
break; break;
default: default:
errs++; errs++;
@ -1714,7 +1714,7 @@ PostgresMain(int argc, char *argv[], int real_argc, char *real_argv[], const cha
if (!IsUnderPostmaster) if (!IsUnderPostmaster)
{ {
puts("\nPOSTGRES backend interactive interface "); 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");
} }
/* /*