From 2a6f7ac456deb60c3f136a5690d1bae917ef43e7 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Mon, 11 Jun 2001 04:12:29 +0000 Subject: Move temporary files into 'pg_tempfiles' subdirectory of each database directory (which can be made a symlink to put temp files on another disk). Add code to delete leftover temp files during postmaster startup. Bruce, with some kibitzing from Tom. --- src/include/storage/fd.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/include') diff --git a/src/include/storage/fd.h b/src/include/storage/fd.h index 6bb690c3f57..f3e06978a67 100644 --- a/src/include/storage/fd.h +++ b/src/include/storage/fd.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: fd.h,v 1.29 2001/05/25 15:45:34 momjian Exp $ + * $Id: fd.h,v 1.30 2001/06/11 04:12:29 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -70,6 +70,7 @@ extern int BasicOpenFile(FileName fileName, int fileFlags, int fileMode); /* Miscellaneous support routines */ extern void closeAllVfds(void); extern void AtEOXact_Files(void); +extern void RemovePgTempFiles(void); extern int pg_fsync(int fd); extern int pg_fdatasync(int fd); -- cgit v1.2.3