From: Tom Lane Date: Mon, 25 Jun 2001 23:03:03 +0000 (+0000) Subject: Fix a couple remaining places where GUC variables were assigned to X-Git-Tag: REL7_2_BETA1~968 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5ba723e95099b9a65394f114ec20d5b239a47967;p=thirdparty%2Fpostgresql.git Fix a couple remaining places where GUC variables were assigned to directly, rather than through SetConfigOption(). --- diff --git a/src/backend/bootstrap/bootstrap.c b/src/backend/bootstrap/bootstrap.c index 460bc80ff56..23bcc420368 100644 --- a/src/backend/bootstrap/bootstrap.c +++ b/src/backend/bootstrap/bootstrap.c @@ -8,7 +8,7 @@ * Portions Copyright (c) 1994, Regents of the University of California * * 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[]) * parsing */ break; case 'F': - enableFsync = false; + SetConfigOption("fsync", "false", PGC_POSTMASTER, true); break; case 'x': xlogop = atoi(optarg); @@ -269,7 +269,7 @@ BootstrapMain(int argc, char *argv[]) /* indicates fork from postmaster */ break; case 'B': - NBuffers = atoi(optarg); + SetConfigOption("shared_buffers", optarg, PGC_POSTMASTER, true); break; default: usage();