mirror of
https://github.com/postgres/postgres.git
synced 2025-06-30 21:42:05 +03:00
Add new postgres -O option to allow system table structure changes.
This commit is contained in:
@ -7,7 +7,7 @@
|
||||
* Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/bootstrap/bootstrap.c,v 1.55 1999/02/13 23:14:52 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/bootstrap/bootstrap.c,v 1.56 1999/03/17 22:52:45 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -182,7 +182,7 @@ static char *relname; /* current relation name */
|
||||
Form_pg_attribute attrtypes[MAXATTR]; /* points to attribute info */
|
||||
static char *values[MAXATTR]; /* cooresponding attribute values */
|
||||
int numattr; /* number of attributes for cur. rel */
|
||||
extern int fsyncOff; /* do not fsync the database */
|
||||
extern bool disableFsync; /* do not fsync the database */
|
||||
|
||||
/* The test for HAVE_SIGSETJMP fails on Linux 2.0.x because the test
|
||||
* explicitly disallows sigsetjmp being a #define, which is how it
|
||||
@ -335,7 +335,7 @@ BootstrapMain(int argc, char *argv[])
|
||||
Noversion = true;
|
||||
break;
|
||||
case 'F':
|
||||
fsyncOff = true;
|
||||
disableFsync = true;
|
||||
break;
|
||||
case 'O':
|
||||
override = true;
|
||||
|
Reference in New Issue
Block a user