mirror of
https://github.com/postgres/postgres.git
synced 2025-11-09 00:11:06 -05:00
The temporary statistics files don't need to be included in the backup because they are always reset at the beginning of the archive recovery. This patch changes pg_basebackup so that it skips all files located in $PGDATA/pg_stat_tmp or the directory specified by stats_temp_directory parameter.