From 58118db39dba592fad26d781b686f0d56c1ba649 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Wed, 17 Mar 1999 22:53:31 +0000 Subject: Add new postgres -O option to allow system table structure changes. --- src/backend/storage/file/fd.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/backend/storage/file/fd.c') diff --git a/src/backend/storage/file/fd.c b/src/backend/storage/file/fd.c index 0cf8478959d..3948a89850c 100644 --- a/src/backend/storage/file/fd.c +++ b/src/backend/storage/file/fd.c @@ -6,7 +6,7 @@ * Copyright (c) 1994, Regents of the University of California * * IDENTIFICATION - * $Id: fd.c,v 1.37 1999/02/13 23:18:05 momjian Exp $ + * $Id: fd.c,v 1.38 1999/03/17 22:53:06 momjian Exp $ * * NOTES: * @@ -168,9 +168,7 @@ static long pg_nofile(void); int pg_fsync(int fd) { - extern int fsyncOff; - - return fsyncOff ? 0 : fsync(fd); + return disableFsync ? 0 : fsync(fd); } #define fsync pg_fsync -- cgit v1.2.3