Thread: pgsql/src include/storage/fd.h backend/storage ...

pgsql/src include/storage/fd.h backend/storage ...

From
Tom Lane
Date:
CVSROOT:    /home/projects/pgsql/cvsroot
Module name:    pgsql
Changes by:    tgl@hub.org    01/06/11 00:12:30

Modified files:
    src/include/storage: fd.h
    src/backend/storage/file: fd.c
    src/backend/postmaster: postmaster.c

Log message:
    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.