mirror of
https://github.com/postgres/postgres.git
synced 2025-04-25 21:42:33 +03: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.