Commit 5ba723e9 authored by Tom Lane's avatar Tom Lane

Fix a couple remaining places where GUC variables were assigned to

directly, rather than through SetConfigOption().
parent 2e67a677
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* Portions Copyright (c) 1994, Regents of the University of California * Portions Copyright (c) 1994, Regents of the University of California
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/bootstrap/bootstrap.c,v 1.109 2001/06/12 22:54:05 tgl Exp $ * $Header: /cvsroot/pgsql/src/backend/bootstrap/bootstrap.c,v 1.110 2001/06/25 23:03:03 tgl Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -260,7 +260,7 @@ BootstrapMain(int argc, char *argv[]) ...@@ -260,7 +260,7 @@ BootstrapMain(int argc, char *argv[])
* parsing */ * parsing */
break; break;
case 'F': case 'F':
enableFsync = false; SetConfigOption("fsync", "false", PGC_POSTMASTER, true);
break; break;
case 'x': case 'x':
xlogop = atoi(optarg); xlogop = atoi(optarg);
...@@ -269,7 +269,7 @@ BootstrapMain(int argc, char *argv[]) ...@@ -269,7 +269,7 @@ BootstrapMain(int argc, char *argv[])
/* indicates fork from postmaster */ /* indicates fork from postmaster */
break; break;
case 'B': case 'B':
NBuffers = atoi(optarg); SetConfigOption("shared_buffers", optarg, PGC_POSTMASTER, true);
break; break;
default: default:
usage(); usage();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment