aboutsummaryrefslogtreecommitdiff
path: root/src/backend/storage/file/fd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/storage/file/fd.c')
-rw-r--r--src/backend/storage/file/fd.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/backend/storage/file/fd.c b/src/backend/storage/file/fd.c
index de6ca57ca1a..128c49989a0 100644
--- a/src/backend/storage/file/fd.c
+++ b/src/backend/storage/file/fd.c
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1994, Regents of the University of California
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/storage/file/fd.c,v 1.63 2000/08/27 21:48:00 tgl Exp $
+ * $Header: /cvsroot/pgsql/src/backend/storage/file/fd.c,v 1.64 2000/10/02 19:42:47 petere Exp $
*
* NOTES:
*
@@ -38,6 +38,8 @@
*-------------------------------------------------------------------------
*/
+#include "postgres.h"
+
#include <sys/types.h>
#include <sys/file.h>
#include <sys/param.h>
@@ -46,7 +48,6 @@
#include <unistd.h>
#include <fcntl.h>
-#include "postgres.h"
#include "miscadmin.h"
#include "storage/fd.h"
@@ -472,7 +473,7 @@ AllocateVfd(void)
* register proc-exit call to ensure temp files are dropped at
* exit
*/
- on_proc_exit(AtEOXact_Files, NULL);
+ on_proc_exit(AtEOXact_Files, 0);
}
if (VfdCache[0].nextFree == 0)