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
* $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);

View 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");
}
/*