Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 5ba723e

Browse files
committed
Fix a couple remaining places where GUC variables were assigned to
directly, rather than through SetConfigOption().
1 parent 2e67a67 commit 5ba723e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/backend/bootstrap/bootstrap.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* Portions Copyright (c) 1994, Regents of the University of California
99
*
1010
* IDENTIFICATION
11-
* $Header: /cvsroot/pgsql/src/backend/bootstrap/bootstrap.c,v 1.109 2001/06/12 22:54:05 tgl Exp $
11+
* $Header: /cvsroot/pgsql/src/backend/bootstrap/bootstrap.c,v 1.110 2001/06/25 23:03:03 tgl Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -260,7 +260,7 @@ BootstrapMain(int argc, char *argv[])
260260
* parsing */
261261
break;
262262
case 'F':
263-
enableFsync = false;
263+
SetConfigOption("fsync", "false", PGC_POSTMASTER, true);
264264
break;
265265
case 'x':
266266
xlogop = atoi(optarg);
@@ -269,7 +269,7 @@ BootstrapMain(int argc, char *argv[])
269269
/* indicates fork from postmaster */
270270
break;
271271
case 'B':
272-
NBuffers = atoi(optarg);
272+
SetConfigOption("shared_buffers", optarg, PGC_POSTMASTER, true);
273273
break;
274274
default:
275275
usage();

0 commit comments

Comments
 (0)