mirror of
https://github.com/postgres/postgres.git
synced 2025-07-02 09:02:37 +03:00
Fix a couple remaining places where GUC variables were assigned to
directly, rather than through SetConfigOption().
This commit is contained in:
@ -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[])
|
|||||||
* 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[])
|
|||||||
/* 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();
|
||||||
|
Reference in New Issue
Block a user