• Magnus Hagander's avatar
    Move pgstat.tmp into a temporary directory under $PGDATA named pg_stat_tmp. · 70d75697
    Magnus Hagander authored
    This allows the use of a ramdrive (either through mount or symlink) for
    the temporary file that's written every half second, which should
    reduce I/O.
    
    On server shutdown/startup, the file is written to the old location in
    the global directory, to preserve data across restarts.
    
    Bump catversion since the $PGDATA directory layout changed.
    70d75697
storage.sgml 25.9 KB