From 8994662a0bfff6ea3afa02149e1166251bad8997 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Sun, 23 Apr 2000 00:13:16 +0000 Subject: [PATCH] 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. --- src/backend/tcop/postgres.c | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/backend/tcop/postgres.c b/src/backend/tcop/postgres.c index c9bfcad00d..b84ae7b537 100644 --- a/src/backend/tcop/postgres.c +++ b/src/backend/tcop/postgres.c @@ -8,7 +8,7 @@ * * * 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 * this is the "main" module of the postgres backend and @@ -967,10 +967,13 @@ PostgresMain(int argc, char *argv[], int real_argc, char *real_argv[]) case 'F': /* -------------------- * 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; case 'f': @@ -1452,7 +1455,7 @@ PostgresMain(int argc, char *argv[], int real_argc, char *real_argv[]) if (!IsUnderPostmaster) { 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"); } /* -- 2.40.0