Skip to content

Commit f889b12

Browse files
committed
Fix erroneous GUC variable references from commandline-GUC patch.
1 parent fb2c328 commit f889b12

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

src/backend/postmaster/postmaster.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
*
3838
*
3939
* IDENTIFICATION
40-
* $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.228 2001/06/25 22:56:05 tgl Exp $
40+
* $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.229 2001/06/29 16:05:57 tgl Exp $
4141
*
4242
* NOTES
4343
*
@@ -428,10 +428,10 @@ PostmasterMain(int argc, char *argv[])
428428
switch (opt)
429429
{
430430
case 'A':
431-
#ifndef USE_ASSERT_CHECKING
432-
postmaster_error("Assert checking is not compiled in.");
433-
#else
431+
#ifdef USE_ASSERT_CHECKING
434432
SetConfigOption("debug_assertions", optarg, PGC_POSTMASTER, true);
433+
#else
434+
postmaster_error("Assert checking is not compiled in.");
435435
#endif
436436
break;
437437
case 'a':
@@ -454,7 +454,7 @@ PostmasterMain(int argc, char *argv[])
454454
SetConfigOption("debug_level", optarg, PGC_POSTMASTER, true);
455455
break;
456456
case 'F':
457-
SetConfigOption("enable_fsync", "false", PGC_POSTMASTER, true);
457+
SetConfigOption("fsync", "false", PGC_POSTMASTER, true);
458458
break;
459459
case 'h':
460460
SetConfigOption("virtual_host", optarg, PGC_POSTMASTER, true);

src/backend/tcop/postgres.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.226 2001/06/25 22:56:04 tgl Exp $
11+
* $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.227 2001/06/29 16:05:56 tgl Exp $
1212
*
1313
* NOTES
1414
* 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
13981398
errs++;
13991399
break;
14001400
case 'e':
1401-
tmp = "show_parser_stats";
1401+
tmp = "show_executor_stats";
14021402
break;
14031403
default:
14041404
errs++;
@@ -1714,7 +1714,7 @@ PostgresMain(int argc, char *argv[], int real_argc, char *real_argv[], const cha
17141714
if (!IsUnderPostmaster)
17151715
{
17161716
puts("\nPOSTGRES backend interactive interface ");
1717-
puts("$Revision: 1.226 $ $Date: 2001/06/25 22:56:04 $\n");
1717+
puts("$Revision: 1.227 $ $Date: 2001/06/29 16:05:56 $\n");
17181718
}
17191719

17201720
/*

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy