aboutsummaryrefslogtreecommitdiff
path: root/src/backend/storage/file/fd.c
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>1999-03-17 22:53:31 +0000
committerBruce Momjian <bruce@momjian.us>1999-03-17 22:53:31 +0000
commit58118db39dba592fad26d781b686f0d56c1ba649 (patch)
treea59a5900f1f1385c1b2cd9d49bffe8ced1b69a29 /src/backend/storage/file/fd.c
parent62a7754e1ae2d817f87594eeae549a82097d8693 (diff)
downloadpostgresql-58118db39dba592fad26d781b686f0d56c1ba649.tar.gz
postgresql-58118db39dba592fad26d781b686f0d56c1ba649.zip
Add new postgres -O option to allow system table structure changes.
Diffstat (limited to 'src/backend/storage/file/fd.c')
-rw-r--r--src/backend/storage/file/fd.c6
1 files changed, 2 insertions, 4 deletions
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