mirror of
https://github.com/postgres/postgres.git
synced 2025-06-13 07:41:39 +03:00
7.0 buffer manager can support different backends running with different
fsync settings, so the -F option no longer needs to be treated as secure.
This commit is contained in:
@ -8,7 +8,7 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.151 2000/04/12 17:15:43 momjian Exp $
|
* $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.152 2000/04/23 00:13:16 tgl Exp $
|
||||||
*
|
*
|
||||||
* NOTES
|
* NOTES
|
||||||
* this is the "main" module of the postgres backend and
|
* this is the "main" module of the postgres backend and
|
||||||
@ -967,9 +967,12 @@ PostgresMain(int argc, char *argv[], int real_argc, char *real_argv[])
|
|||||||
case 'F':
|
case 'F':
|
||||||
/* --------------------
|
/* --------------------
|
||||||
* turn off fsync
|
* turn off fsync
|
||||||
|
*
|
||||||
|
* 7.0 buffer manager can support different backends running
|
||||||
|
* with different fsync settings, so this no longer needs
|
||||||
|
* to be "if (secure)".
|
||||||
* --------------------
|
* --------------------
|
||||||
*/
|
*/
|
||||||
if (secure)
|
|
||||||
disableFsync = true;
|
disableFsync = true;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
@ -1452,7 +1455,7 @@ PostgresMain(int argc, char *argv[], int real_argc, char *real_argv[])
|
|||||||
if (!IsUnderPostmaster)
|
if (!IsUnderPostmaster)
|
||||||
{
|
{
|
||||||
puts("\nPOSTGRES backend interactive interface ");
|
puts("\nPOSTGRES backend interactive interface ");
|
||||||
puts("$Revision: 1.151 $ $Date: 2000/04/12 17:15:43 $\n");
|
puts("$Revision: 1.152 $ $Date: 2000/04/23 00:13:16 $\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Reference in New Issue
Block a user